Commit Graph

  • 8fda79b9a9 add loop BIF darkf 2013-10-23 19:33:44 -0700
  • 702d34ca86 Fix identifiers starting with t or f not parsing darkf 2013-10-23 19:33:13 -0700
  • 5c341d7df4 add at and hibye examples darkf 2013-10-23 15:39:01 -0700
  • b1fc1a3715 fix comments in parser darkf 2013-10-23 15:38:11 -0700
  • 47d43351e2 add string patterns darkf 2013-10-23 15:31:37 -0700
  • 0dcc1707ee implement cons on strings darkf 2013-10-23 15:15:34 -0700
  • ce5083fad9 add + operator on lists darkf 2013-10-23 15:06:57 -0700
  • 0800608479 add boolean comparison and equality operators darkf 2013-10-23 15:05:47 -0700
  • 767e3eedab evaluate if expressions darkf 2013-10-23 14:43:30 -0700
  • 669b4a09a9 add boolean type and constants darkf 2013-10-23 14:41:44 -0700
  • 10d0494465 parse ifs darkf 2013-10-23 14:36:06 -0700
  • 732802b414 update README darkf 2013-10-23 04:08:45 -0700
  • 92463a26c7 treat global scope as a special late binding darkf 2013-10-23 02:13:35 -0700
  • 04c227e0e9 fix calls not restoring environment darkf 2013-10-23 01:59:15 -0700
  • 639b5646e0 transition to linked lexical environments darkf 2013-10-23 01:48:10 -0700
  • a6cdb3b073 add map example darkf 2013-10-22 17:29:39 -0700
  • d2ad20ff3a transition InterpState to use StateT IO darkf 2013-10-22 17:24:28 -0700
  • d9e1a7bdc1 remove curried functions; multiple arguments use tuples darkf 2013-10-22 15:59:05 -0700
  • 8b41c05b94 add tuples darkf 2013-10-22 15:10:34 -0700
  • 6d904fdfc4 AST representation of functions shouldn't use a list as they only contain one expression darkf 2013-10-21 13:18:25 -0700
  • 700c5be701 refactor examples to use print(x) instead of putstrln(itos(x)) darkf 2013-10-20 22:45:52 -0700
  • dfbad82f26 listsum -> listlength; add actual listsum darkf 2013-10-20 22:43:59 -0700
  • cd309c9a58 add print built-in darkf 2013-10-20 22:37:58 -0700
  • 0770474931 add cons expression darkf 2013-10-20 22:27:27 -0700
  • e60deb4ca2 add countdown example darkf 2013-10-20 22:01:36 -0700
  • 3b9a5df158 add listsum example darkf 2013-10-20 21:52:04 -0700
  • 3be45c44e5 fix 'x::xs' pattern not working on one-element lists darkf 2013-10-20 21:51:54 -0700
  • 9dc145c08f add factorial example darkf 2013-10-20 21:07:49 -0700
  • 99ce2f75ee reverse pattern binding order darkf 2013-10-20 18:59:22 -0700
  • 98305cd6d0 fix pattern bindings preferring the old environment darkf 2013-10-20 18:45:23 -0700
  • dcb52ad6eb fix README formatting darkf 2013-10-20 17:48:02 -0700
  • 77b49494b5 fix README formatting darkf 2013-10-20 17:45:00 -0700
  • e2b98244f5 add .gitignore darkf 2013-10-20 17:41:54 -0700
  • 262ab75e61 add hello world example darkf 2013-10-20 17:41:22 -0700
  • ef6b9d87c9 add README and LICENSE, and copyright headers darkf 2013-10-20 17:41:12 -0700
  • 83111e51fb fix itos to error on non-int inputs darkf 2013-10-20 17:25:38 -0700
  • d36f589132 add other arithmetic operators darkf 2013-10-20 17:24:51 -0700
  • 1aad8057a0 fix list pattern not failing darkf 2013-10-20 17:04:12 -0700
  • 7bebcdd1dc redefintions of functions adds pattern; fix [] pattern yielding [UnitP] darkf 2013-10-20 16:57:48 -0700
  • f138c7475b add helper bind function darkf 2013-10-20 16:32:23 -0700
  • 314458e445 add helper lookup function darkf 2013-10-20 16:30:39 -0700
  • 1723239d9b add itos builtin darkf 2013-10-20 16:26:53 -0700
  • 2851a60eb0 fix whitespace after string literals darkf 2013-10-20 16:21:41 -0700
  • 17cfbce27d add string literals to parser darkf 2013-10-20 16:18:05 -0700
  • fa5783b6e1 add evaluation of blocks darkf 2013-10-20 16:04:56 -0700
  • f7ea85f08f add a driver darkf 2013-10-20 15:55:30 -0700
  • 7fd13253e7 add getline putstr, and fix putstr to flush the handle darkf 2013-10-20 01:12:10 -0700
  • 007f8f5eca add support for built-ins and putstr built-in darkf 2013-10-19 22:42:48 -0700
  • 3d680c99f9 add stream list to interpreter state darkf 2013-10-19 21:34:30 -0700
  • d10596f037 add evalString to interpreter darkf 2013-10-19 02:21:34 -0700
  • e8d068f10b fix ConsP not catching everything darkf 2013-10-19 02:21:04 -0700
  • f61c7fb87d add list patterns darkf 2013-10-19 02:11:36 -0700
  • b55d0befaa add list expressions darkf 2013-10-19 02:09:44 -0700
  • 16c882b501 add cons pattern to parser darkf 2013-10-19 02:05:16 -0700
  • 3506e1282a add multiple pattern arguments in parser darkf 2013-10-19 01:56:14 -0700
  • 7aa23e4800 add call arguments darkf 2013-10-19 01:44:53 -0700
  • 0db6e26070 slightly clean up parser darkf 2013-10-19 01:38:25 -0700
  • ded743f2b1 add basic pattern to parser and fix some symbol stuff darkf 2013-10-19 01:36:59 -0700
  • 5b4118ef8c add initial parser darkf 2013-10-18 23:22:42 -0700
  • 54ea8baa54 Separate AST into ast.hs and add unit type/value darkf 2013-10-18 23:21:06 -0700
  • acce1a15dd add list pattern darkf 2013-10-18 14:06:27 -0700
  • 870aad52cf add cons patterns darkf 2013-10-18 13:49:33 -0700
  • 0ee94c3bc2 add a list constant/type darkf 2013-10-18 13:24:00 -0700
  • bd7caa2d59 add int patterns and check all patterns darkf 2013-10-18 01:28:42 -0700
  • 571f85814e transition functions to unary darkf 2013-10-18 01:14:13 -0700
  • ecae41ef51 implement variable patterns darkf 2013-10-17 20:46:34 -0700
  • 1cc5b0b03a initial commit darkf 2013-10-17 18:58:41 -0700