Commit graph

31 commits

Author SHA1 Message Date
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