repo

Where It Started

It all began with yet another crazy idea: trying to write my own programming language, compiler, or transpiler…

That’s what happens when you get tired of forms and buttons.

Writing a compiler from scratch is pretty boring.

You already know the result, and what lies ahead is routine work: parsing, building an AST, and so on.

I got bored quickly.

Then I remembered Babel. I vaguely know its internals and am familiar with Babylon (now @babel/parser).

Roughly speaking, it parses code and produces an AST. We can extend JavaScript with features from newer standards not yet supported by all browsers.

Some people call it a compiler, others a transpiler — at this point, it’s mostly a matter of taste…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help