Commit graph

43 commits

Author SHA1 Message Date
19de2ff4e8 Add implicit tagbody to the do macro 2021-04-10 22:14:02 +02:00
e6342eda24 Implement tagbody and go macros 2021-04-10 21:42:44 +02:00
44468958b6 Implement dolist and add tests 2021-04-10 02:19:09 +02:00
c5e9cf2155 Fix lexer: Strings can be empty 2021-04-10 01:26:07 +02:00
ac1f8aef03 Implement dotimes and add tests 2021-04-10 01:16:03 +02:00
70ce321517 Add test for apply function 2021-04-10 01:02:33 +02:00
ba0915f384 Add plan to each test 2021-04-09 00:01:27 +02:00
0cbc43927d Add tests for 'or' 2021-04-08 23:52:03 +02:00
6bff33af20 Fix parsing comment at end of file 2021-04-08 23:33:09 +02:00
cf9f90c19b Fix cond.t
cond.t was not actually using equal but cond works anyway.
2021-04-08 22:10:58 +02:00
46d904535a Add implicit block to do macro 2021-04-08 21:53:21 +02:00
e6cb6bd047 Add test for throw and catch 2021-04-08 21:49:00 +02:00
8bdc8232f9 Add loop macro and a test 2021-04-07 23:31:28 +02:00
2e784310fb Add test for blocks 2021-04-07 23:17:08 +02:00
fe23edcb90 Add tests for two more edge cases 2021-04-06 23:54:22 +02:00
7d6a988e88 let.t - Remove debug comments 2021-04-06 23:50:56 +02:00
732a3f87b4 Add tests for when and unless testing for implicit progn 2021-04-06 23:40:10 +02:00
8e6929c0a9 Add euler examples as tests 2021-04-06 22:41:49 +02:00
7ca4bad9b0 Implement do macro 2021-04-06 22:11:37 +02:00
c954f0216f when, unless: check for wrongful evaluation
when and unless must not evaluate their bodies if the condition does not require it.
2021-04-05 04:07:22 +02:00
b4e46a9b40 Add tests for mod function 2021-04-05 03:53:44 +02:00
03dfa8f188 Implement let* 2021-04-05 03:06:44 +02:00
7f1283eecc Improve bool system
lisp has true in form of t and false in form of nil
2021-04-05 00:06:49 +02:00
61df548e00 Implement set 2021-04-04 23:13:17 +02:00
4a42695a27 Add function filter and a test 2021-04-04 02:34:05 +02:00
1df85fd67c Add another function test 2021-04-04 02:33:49 +02:00
7db1cce024 Improve test description for math.t 2021-04-04 01:53:30 +02:00
e163fdce59 Add when, unless 2021-04-04 01:53:18 +02:00
0b19227810 Add cond macro 2021-04-04 01:44:47 +02:00
0620c777bf Test string functions 2021-04-03 18:48:10 +02:00
c575115f92 Add short notation for lists: '(1 2) == (list 1 2) 2021-04-03 18:09:20 +02:00
b316404b2b Add cons, car, cdr 2021-04-03 18:05:59 +02:00
63af87b9ca Add simple tests for keywords 2021-04-02 20:53:59 +02:00
b014552d09 Add test that compares unequal lists 2021-04-02 20:53:12 +02:00
7f38e74e78 Add map, reduce and equal for lists 2021-04-02 20:18:42 +02:00
78c4bebaae Add first tests for list 2021-04-02 20:01:57 +02:00
009ec0d0cd Add test for let 2021-04-02 20:01:57 +02:00
3430c9b41b Rudimentary strings test 2021-04-02 19:03:50 +02:00
c79d4b8402 Add test for math operations 2021-04-02 19:03:37 +02:00
6e9ba12895 Add test for functions 2021-04-02 17:11:34 +02:00
8ebb353543 Add more bool tests for and, or, not 2021-04-02 16:20:15 +02:00
59e7694dc0 Add recursion test 2021-04-02 16:20:07 +02:00
d35611b813 Add proper tests 2021-04-02 16:06:26 +02:00