Re: Primitive pseudocode parser in Clojure

2015-09-23 Thread Vitaliy Vlasov
This looks awesome! Thanks so much! I'm actually extending it with some additional statements of my own (Instaparse would be perhaps too general in my case) On Tuesday, September 22, 2015 at 2:08:03 AM UTC+3, Matching Socks wrote: > > Vitaliy Akimov described an approach to a similar problem

Re: Primitive pseudocode parser in Clojure

2015-09-21 Thread Matching Socks
Vitaliy Akimov described an approach to a similar problem here recently... https://groups.google.com/d/msg/clojure/HNH66_KNaNM/BjpJGnl7AgAJ -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com

Primitive pseudocode parser in Clojure

2015-09-21 Thread Vitaliy Vlasov
Hi all, I'm happy to write my first post here:) I am writing a mathematical formula parser in Clojure. The formulas need to be written in infix notation and also support some primitive conditional statements (e.g. if-else and case), so that for instance this string would be parsed into a valid

Re: Primitive pseudocode parser in Clojure

2015-09-21 Thread adrian . medina
I recommend Instaparse (https://github.com/Engelberg/instaparse) for all of your parsing needs. On Monday, September 21, 2015 at 12:29:16 PM UTC-4, Vitaliy Vlasov wrote: > > Hi all, > > I'm happy to write my first post here:) I am writing a mathematical > formula parser in Clojure. The