Skip to content

Comment on Ask HN: How can I, as a web developer, learn about compilers?

Comments

Hi,

Indeed it's difficult to find documentation and books between the low level stuff like the old flex/bison and high level tools like Xtext or even MPS.

For your use case I think you could simply write a set of eslint rules. This short document is a good start https://gist.github.com/sindresorhus/1656c46f23545deff8cc713...

https://astexplorer.net is recommended and a good resource.

Hi speedgoose, thanks you for your answer. I really like the gist that you've posted.

I’m genuinely curious on how linters work.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.