Hacker News new | past | comments | ask | show | jobs | submit login

I feel your pain, I (part)implemented a lambda parser that will spit out C-style expressions when given basic mathematical ruby expressions if that helps you: https://github.com/cronin101/HaDope/blob/master/lib/parsing/...

E.g. calling with ->(i){ i * (2 + i / 4) } returns 'x * (2 + (x / 4))'




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: