aboutsummaryrefslogtreecommitdiffhomepage
path: root/TODO
diff options
context:
space:
mode:
Diffstat (limited to 'TODO')
-rw-r--r--TODO33
1 files changed, 5 insertions, 28 deletions
diff --git a/TODO b/TODO
index 514ad4f..6c7f0f6 100644
--- a/TODO
+++ b/TODO
@@ -274,30 +274,11 @@ Features:
be disabled in parser-terminator-mode).
Q-Reg specs should support alternative balanced escapes as well
for symmetry.
- * Numbers could be separate states instead of stack operating
- commands. The current behaviour has few benefits.
- If a number is a regular command that stops parsing at the
- first invalid character in the current radix, we could write
- hexadcimal constants like 16^R0BEEF^D (still clumsy...).
- On the other hand, the radix is runtime state and parsing
- must not depend on runtime state in SciTECO to ensure
- parseability of the language.
- We could use the @ modifier though, so a hexadecimal constant
- must always begin with @0-@9.
- @1e\ would be enough to insert the escape character.
- If the number starts with a non-decimal digit, you will have to
- prefix it with 0, as in @0FF. If it is followed by a command A-F,
- you can add an additional space or even brace the expression as in
- `@0FF A` or `(@0FF)A`.
- The same could be done with a caret: `^0FF`.
- Alternatively, ^P would still be available as a single-key-press
- hex-constant prefix.
- Octal constants could begin with 0 as in C, e.g. 0666
- * Furthermore, this opens the possibility of floating point
- numbers. The "." command does not take arguments, so it
- could be part of the number syntax. This disallows constructs
- like "23." to push 23 and Dot which have to be replaced by
- "23,.".
+ * Floating point numbers constants.
+ The "." command does not take arguments, so it
+ could be part of the number syntax. This disallows constructs
+ like "23." to push 23 and Dot which have to be replaced by
+ "23,.".
* In the most simple case, all TECO numbers could be
floats/doubles with division/modulo having integer semantics.
A separate floating point division operator could be introduced
@@ -307,11 +288,7 @@ Features:
The operator decides how to interpret the arguments
and the return type. This is good since we'd need less operators
and it's good to keep true integers around.
- * Having a separate number parser state will slightly simplify
- number syntax highlighting (see teco_lexer_getstyle()).
* The first application of floats could be for U[lexer.font].
- * ^H as shortcut for 16^R. ^H is backspace, but it won't be
- necessary to type very often.
* Key macro masking flag for the beginning of the command
line. May be useful e.g. for solarized's F5 key (i.e. function
key macros that need to terminate the command line as they