Can I use html and js to make a new coding language compiler? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Can I use html and js to make a new coding language compiler?

31st Oct 2018, 12:48 PM
B.D
B.D - avatar
3 Answers
+ 2
Yes you can
31st Oct 2018, 2:52 PM
Etabeta1🇮🇹
Etabeta1🇮🇹 - avatar
+ 1
JS yeah; HTML is visual and would be of no use itself.
31st Oct 2018, 3:00 PM
Tom Shaver
Tom Shaver - avatar
0
HTML definitely not. JS probably, but it won't be easy since JS itself isn't a compiled language. You can instead make a transpiler, the most well know example of this is probably CoffeeScript (which produces JavaScript after transpiling). Google for the differences between transpilers and compilers.
8th Nov 2018, 8:33 AM
Brendon Bosman
Brendon Bosman - avatar