adam-mcdaniel / free

An esoteric programming language with an unusual compiler backend
MIT License
329 stars 6 forks source link

An example RPN expression evaluator #3

Closed Patryk27 closed 4 years ago

Patryk27 commented 4 years ago

Hi!

I've got a thing for beautifully-simple languages, and a bit too much time on my hands, so I've coded an RPN expression evaluator in Free; I think it might serve as an additional example :-)

Accidentally, the generated C code contains 42923 lines, which is a prime number!

adam-mcdaniel commented 4 years ago

This is utterly amazing work. I cannot believe what I'm seeing.

Most of my repositories have 1 or 2 stars at most, so I've never really had any contributions. When I saw an email notification that I had a PR, it made my day. When I saw that you had gone above and beyond what I thought was possible with this, it made my week.

Thank you for being the first PR I've ever merged into a repository of my own.