Sign in
Log inSign up
Atharva Sawleshwarkar

63 likes

·

105 reads

4 comments

Thombre Aditya
Thombre Aditya
Apr 12, 2023

the blog provides a good introduction to domain-specific compilers and their benefits for web development

·
Crhistian
Crhistian
Apr 12, 2023

Near the top you state that JavaScript is a general purpose language (which I agree with) and then later you list it as a domain specific language. This seems like a contradiction?

·
·2 replies
Atharva Sawleshwarkar
Atharva Sawleshwarkar
Author
·Apr 13, 2023

JavaScript is also used for web dev. So, to design compiler for web domain, we have to consider javascript too. By the way, thanks for pointing out.

·
mohiddin21
mohiddin21
Apr 13, 2023

Actually according ECMAScript Specification, even though JavaScript is referred as a web scripting language it can be used in multiple domains. But when we speak about JavaScript in browser (as mentioned in the later part of the blog) it actually means the combination of two things: the language itself and DOM API where we would consider it as a DSL. Hope it helps!

2
·