Issue 56 in teyjus: Lexer gives lower precedence to comments than tokens

0 views
Skip to first unread message

tey...@googlecode.com

unread,
Jan 29, 2012, 9:09:29 PM1/29/12
to teyjus...@googlegroups.com
Status: New
Owner: ----

New issue 56 by quentin....@polytechnique.org: Lexer gives lower precedence
to comments than tokens
http://code.google.com/p/teyjus/issues/detail?id=56

Version 2.0-b2
Not sure if it is a bug since little is said on the wiki about comments, by
my feeling is that even if Teyjus has a lot less separating chars than
other languages, comments shouldn't be "included" in tokens, as it is the
case:

***********************

[toplevel] ?- X/**/= = 3.

The answer substitution:
X/**/= = 3

More solutions (y/n)? y

no (more) solutions

***********************

I would expect "X/**/=" to be parsed as "X =".

Reply all
Reply to author
Forward
0 new messages