Right now the comment character is not hard-coded in the lexer which causes us to discover poor errors like this one in some syntax words that aren't "comment-aware". There are a couple others we are planning on fixing also. Maybe you can add your test case to this issue:
https://github.com/slavapestov/factor/issues/1243 And pull requests are always welcome! Best, John. > On Jan 29, 2015, at 6:18 AM, Alexander Iljin <ajs...@yandex.ru> wrote: > > Hello, Jon! > > 29.01.2015, 16:07, "Jon Harper" <jon.harpe...@gmail.com>: >> You're missing a whitespace between x and your closing parenthesis in >> ": dice5 ( -- x)" > > Thank you! I can see that now. > > If I were to sumbit a patch for this problem I need to understand a bit more. > Am I right in thinking that the effects.parser.parse-effect-token (or > something rearby) needs to respect the rule stating that "everything from a ! > to the end of line is a comment"? Or is there no such universally applicable > rule in Factor? > > ---=====--- > Александр > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk