1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-11 00:52:44 +03:00
Commit Graph

7 Commits

Author SHA1 Message Date
Dov Murik
539427f0db nim: fix tokenizer endless loop (and out-of-memory) on bad input
The input string `(prn "abc` caused the nim implementaion (from step1
onwards) to enter an endless loop in tokenize (which eventually caused
out-of-memory).

The fix verfies that indeed the regex matches a non-empty substring
before adding that substring as a token.
2015-12-04 15:35:39 -05:00
Joel Martin
8d78bc26bf All: fix read/print of \\, and \n 2015-10-30 22:05:49 -05:00
def
3faa513e83 Make Nim implementation a bit nicer
- Use re from standard library instead of nre
- Allow make -j4
- Rebuild binaries after source changed
2015-04-09 19:09:55 +02:00
def
2800f31881 Fix and clean up Nim implementation 2015-03-04 15:43:18 +01:00
def
3603af9666 Nim: step6 2015-03-01 04:38:43 +01:00
def
819bd786cb Nim: step4 2015-02-28 19:52:01 +01:00
def
b94acce656 Nim: step1 2015-02-28 14:23:19 +01:00