logoalt Hacker News

desireco42today at 3:40 AM1 replyview on HN

So I poked around... this is really interesting. So you take language in text and make IR, but also could be made IR directly. That is very interesting.

Potentially I could make a version without curly braces or some weird syntax and it could be compiled in IR and still be same language :).

Kind of like MS and VB and C# haha.

I like what you did so far, I will keep an eye, maybe help if I can.


Replies

crowdhailertoday at 7:07 AM

I have a few weird syntax I've worked on in the past so this is definitely possible. Currently only the textual representation and structural editor are in the repo. The most different I have done is a layout where the AST was presented like a file tree.

apply ├── int_negate └── 5