- 31 Oct, 2012 1 commit
-
-
Theophile Ranquet authored
* THANKS (Pablo Oliveira, Theophile Ranquet): Add. * src/Scan.hs (scanToKeyword): Here. * tests/Makefile.am: Adjust for... * tests/cmp.lir, * tests/cmp.out, * tests/cmp.test: ...this new test. Reported by Pablo Oliveira.
-
- 27 Jan, 2012 1 commit
-
-
Roland Levillain authored
* src/Scan.hs (scanLiteralContent): Here.
-
- 21 Oct, 2011 1 commit
-
-
Roland Levillain authored
* src/High.hs, * src/Main.hs, * src/Parse.hs, * src/Print.hs, * src/RuntimeCommon.hs, * src/RuntimeInput.hs, * src/RuntimePrint.hs, * src/RuntimeSystem.hs, * src/Scan.hs, * src/Trace.hs: Update imported module names.
-
- 09 May, 2005 1 commit
-
-
Akim Demaille authored
Let HAVM have a more regular language. * src/Scan.hs (scanTokKeyword): Extend to support arithmetics in letters. Extend to handle symbols for arithmetics and comparisons. (isIndent, isIndentNum): Adjust to handle symbolic operators. (charToOp, scan): No longer treat (+) operators specifically. * src/Main.hs (evalM): The main function is main, not Main. * src/Ir.hs: Adjust the way to show the operators. * doc/havm.texi, doc/builtins.texi: Update to cover all the recent additions and changes.
-
- 16 Oct, 2003 1 commit
-
-
Akim Demaille authored
Change labels from "l`...'" to "...". * src/Scan.hs (isIdentNum): Use isIdent. (isIdent): Accept "_" for sake of "print_int". (scan): No longer detect "l`...'". (scanLabel): Remove. * doc/havm.texi: Adjust. "size" is a Tiger builtin, but also an Havm keyword for an obsolete feature. Get rid of the latter. * src/Ir.hs, src/Annotation.hs, src/Eval.hs, src/High.hs, * src/Low.hs, src/Parse.y, src/Preload.hs, src/Print.hs: Label has no "size" attribute. * src/Code.hs, src/Monad.hs (cframesize): Remove. Adjust callers. * src/Scan.hs (TokSize): No longer used.
-
- 22 Jul, 2003 1 commit
-
-
Akim Demaille authored
* src/Scan.hs (isIdent, isIdentNum): New. (scan, scanTokString): Use them to accept $ in identifiers. * doc/havm.texi (Special Temporaries): New.
-
- 01 Jul, 2003 1 commit
-
-
Akim Demaille authored
2003-06-30 Akim Demaille <akim@epita.fr> * src/Scan.hs: Fit into 80 cols. (charToOp): New. (scan): Use it. * src/Low.hs: Reformatting. Use "invalid" in error messages, not "incorrect".
-
- 19 Jun, 2003 1 commit
-
-
Akim Demaille authored
* src/Scan.hs (scanComment): Rename "end" as "closing" to avoid gratuitous name clashes. * src/Print.hs: Newline between the two parts of an ESeq.
-
- 11 Jun, 2003 1 commit
-
-
Akim Demaille authored
* src/Scan.hs (scanComment): Extend to replace the former scanComment and... (scanCommentLine): this one too. * src/Eval.hs: When tracing, report the annotations of call arguments. * src/Location.hs (incchar, incs): New.
-
- 08 Apr, 2003 1 commit
-
-
Akim Demaille authored
Version 0.14. * src/Scan.hs (scanLiteralContent): Display a complete error message on bad escapes.
-
- 02 Apr, 2003 2 commits
-
-
Akim Demaille authored
-
Akim Demaille authored
* src/Scan.hs (scan): Diagnose the unexpected characters. * src/Makefile.am (bin_PROGRAM): Rename as... (bin_PROGRAMS): this, and rename as... (bin_SCRIPTS): this, as we don't want a C compiler.
-
- 06 Mar, 2003 1 commit
-
-
Akim Demaille authored
* src/Scan.hs (escapeToChar): New. (scanLiteralContent): Support all the ISO C symbolic .
-
- 05 Mar, 2003 2 commits
-
-
Akim Demaille authored
* src/Code.hs, src/Cpu.hs, src/Eval.hs, src/Ir.hs, src/Main.hs, * src/Memory.hs, src/Monad.hs, src/Parse.y, src/Preload.hs, * src/Print.hs, src/Result.hs, src/Scan.hs, src/StdBinop.hs, * src/StdRelop.hs, src/Token.hs: Use Unix end of lines, not a` la DOS.
-
Akim Demaille authored
* src/Scan.hs (Data.Char): Import isHexDigit and isHexDigit. (scanLiteralContent): Support x for sake of improved tc compatibility.
-
- 01 Jul, 2002 1 commit
-
-
Robert Anisko authored
* src/Low.hs: Output locations of rejected subtrees. * src/Parse.y: Update location handling. Annotate trees with their locations. * src/Scan.hs: Likewise. * src/Annotation.hs: Likewise. * src/Opt.hs: Fix. * src/Main.hs: Fix.
-
- 23 May, 2002 1 commit
-
-
Robert Anisko authored
* src/Scan.hs (scanLiteral): Fix performance issues. (scanLiteralContent): New function.
-
- 20 May, 2002 1 commit
-
-
Robert Anisko authored
* src/Main.hs: Update. * src/Parse.y: Update. * src/Scan.hs: Track locations. * src/Token.hs: Store locations. * src/Location.hs: New file. * src/Position.hs: New file.
-
- 13 May, 2002 5 commits
-
-
Robert Anisko authored
No commit message
-
Robert Anisko authored
* src/Scan.hs (scan, scanTokKeyword): To lowercase. * src/Eval.hs (evalExp): To lowercase. * src/Cpu.hs (rfetch, rstore): To lowercase.
-
Robert Anisko authored
* src/Main.hs: Store zero as the fake static link of main. * src/Token.hs: Add branch TokLabelEnd to Tok. * src/Scan.hs: Accept `LABEL END.'. * src/Eval.hs: Pass function arguments in their dedicated registers. * src/Preload.hs: Update code preloading for outer labels. * src/Parse.y: Build nodes from `LABEL END.'. * src/Ir.hs: Add branch LabelEnd to Stm.
-
Robert Anisko authored
* src/Scan.hs (scan, scanTokInt): Scan negative integers. * src/Eval.hs (evalArgs): Grow stack down. * src/Cpu.hs (initialize): Change base values of `FP' and `SP'.
-
Robert Anisko authored
* src/Scan.hs (scanCommentLine): New function. Character `#' now starts a one-line comment.
-
- 07 May, 2002 1 commit
-
-
Robert Anisko authored
Initial checkin.
-