Commit Graph

135 Commits

Author SHA1 Message Date
darkf e2b98244f5 add .gitignore 2013-10-20 17:41:54 -07:00
darkf 262ab75e61 add hello world example 2013-10-20 17:41:22 -07:00
darkf ef6b9d87c9 add README and LICENSE, and copyright headers 2013-10-20 17:41:12 -07:00
darkf 83111e51fb fix itos to error on non-int inputs 2013-10-20 17:25:38 -07:00
darkf d36f589132 add other arithmetic operators 2013-10-20 17:24:51 -07:00
darkf 1aad8057a0 fix list pattern not failing 2013-10-20 17:04:12 -07:00
darkf 7bebcdd1dc redefintions of functions adds pattern; fix [] pattern yielding [UnitP] 2013-10-20 17:03:45 -07:00
darkf f138c7475b add helper bind function 2013-10-20 16:32:23 -07:00
darkf 314458e445 add helper lookup function 2013-10-20 16:30:39 -07:00
darkf 1723239d9b add itos builtin 2013-10-20 16:26:53 -07:00
darkf 2851a60eb0 fix whitespace after string literals 2013-10-20 16:21:41 -07:00
darkf 17cfbce27d add string literals to parser 2013-10-20 16:18:05 -07:00
darkf fa5783b6e1 add evaluation of blocks 2013-10-20 16:04:56 -07:00
darkf f7ea85f08f add a driver 2013-10-20 15:55:30 -07:00
darkf 7fd13253e7 add getline putstr, and fix putstr to flush the handle 2013-10-20 01:12:10 -07:00
darkf 007f8f5eca add support for built-ins and putstr built-in 2013-10-19 22:42:48 -07:00
darkf 3d680c99f9 add stream list to interpreter state 2013-10-19 21:34:30 -07:00
darkf d10596f037 add evalString to interpreter 2013-10-19 02:21:34 -07:00
darkf e8d068f10b fix ConsP not catching everything 2013-10-19 02:21:04 -07:00
darkf f61c7fb87d add list patterns 2013-10-19 02:11:36 -07:00
darkf b55d0befaa add list expressions 2013-10-19 02:09:44 -07:00
darkf 16c882b501 add cons pattern to parser 2013-10-19 02:05:16 -07:00
darkf 3506e1282a add multiple pattern arguments in parser 2013-10-19 01:56:14 -07:00
darkf 7aa23e4800 add call arguments 2013-10-19 01:44:53 -07:00
darkf 0db6e26070 slightly clean up parser 2013-10-19 01:38:25 -07:00
darkf ded743f2b1 add basic pattern to parser and fix some symbol stuff 2013-10-19 01:36:59 -07:00
darkf 5b4118ef8c add initial parser 2013-10-18 23:22:42 -07:00
darkf 54ea8baa54 Separate AST into ast.hs and add unit type/value 2013-10-18 23:21:06 -07:00
darkf acce1a15dd add list pattern 2013-10-18 14:06:27 -07:00
darkf 870aad52cf add cons patterns 2013-10-18 13:49:33 -07:00
darkf 0ee94c3bc2 add a list constant/type 2013-10-18 13:24:00 -07:00
darkf bd7caa2d59 add int patterns and check all patterns 2013-10-18 01:28:42 -07:00
darkf 571f85814e transition functions to unary 2013-10-18 01:14:13 -07:00
darkf ecae41ef51 implement variable patterns 2013-10-17 20:46:34 -07:00
darkf 1cc5b0b03a initial commit 2013-10-17 18:58:41 -07:00