Hello, I am writing a Prolog parser in ECLiPSe Prolog to parse a mini language. The difficulty I am having is that because Prolog expects term-like expressions, my parser can not parse non-term-like expressions. For example, the syntax for my language's IF statement needs to be of the form: if(Condition, ThenClause) Instead of if (Condition) then ThenClause endif or better yet: if (Condition) { ThenClause } I know it's a naive question, but thought I should still ask in case someone have some experience and could give me some hints. Thank you very much, HuyReceived on Mon Jan 05 2009 - 15:40:55 CET
This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET