Updates:
Status: Started
Owner:
fafo...@gmail.com
Cc:
dale.a.m...@gmail.com
Comment #1 on issue 63 by
fafo...@gmail.com: Readterm parsing (related to
2 prec issues)
https://code.google.com/p/teyjus/issues/detail?id=63
Hi!
I'm currently working on this issue and would like your opinion.
The first issues with space is clearly a bug with one simple answer.
However for the \n problem, it's not possible to just skip any blank
(space, tab, newline) because we want to be able to read this kind of
things:
========
this my first term
term(X).
this is my second term
term(Y).
===================
In this case you would like to alternate between input_line and readterm
and you don't want readterm to do too much.
My proposition for the behavior of readterm is the following:
If readterm meets a dot and there are only spaces and tabs followed by a
newline, then place the cursor to the beginning of the next line.
Otherwise, don't move it. That would allow to read several terms on the
same line separated by spaces. In this case, spaces would be consumed
befored reading the term.
What do you think? Is it simple and flexible enough?
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings