Commit Graph

440 Commits

Author SHA1 Message Date
Simon Forman a1ecea341a Minor refactor. 2019-11-09 14:02:18 -08:00
Simon Forman c211848d5c Refactoring, with oddball quoting "symbols". 2019-11-09 13:59:06 -08:00
Simon Forman a38d8153cd That works nicely, again. 2019-11-09 13:42:14 -08:00
Simon Forman b7659bdeaa Convert to ? DCG and it's macro-time! 2019-11-09 13:34:51 -08:00
Simon Forman 632161b6d1 I think that does it for cons.
Offsets in pair records can be negative.
2019-11-09 12:14:51 -08:00
Simon Forman ab0ff48c54 That's the mainloop converted to permit negative offsets. 2019-11-09 12:03:13 -08:00
Simon Forman 9ce9d967cf Minor cleanup, bug fixes. 2019-11-09 11:27:29 -08:00
Simon Forman 3c796310a5 Minor bugfix.
asr not ror.
2019-11-08 15:24:09 -08:00
Simon Forman 4c13868e7c Cons 2019-11-08 14:06:28 -08:00
Simon Forman d67420ae68 Just do it in asm. 2019-11-08 08:08:53 -08:00
Simon Forman 5172be7a0a hmm... 2019-11-07 20:21:26 -08:00
Simon Forman 3f843ed4cc WIth push2 finished that's the mainloop converted. 2019-11-07 17:25:04 -08:00
Simon Forman 65d55cf7b4 lookup 2019-11-07 16:28:28 -08:00
Simon Forman 7bab15c64a if_literal 2019-11-07 16:15:41 -08:00
Simon Forman 0ce64f2ec4 A start on converting the mainloop. 2019-11-07 15:53:07 -08:00
Simon Forman b924350c6d Take two on the compiler. 2019-11-07 14:57:41 -08:00
Simon Forman 53ef16bee4 Minor cleanup. 2019-11-07 07:55:01 -08:00
Simon Forman 3751107a09 Modify error reporting a lil; words word. 2019-11-07 07:54:04 -08:00
Simon Forman f58f3b9959 Definition of ii combinator.
ii == [dip] dupdip i

         a [F] ii
      --------------
          F a F
2019-11-07 07:53:21 -08:00
Simon Forman 99f9534a10 Call for_serial/2 2019-11-07 07:43:21 -08:00
Simon Forman 22b34aba05 Using partial deduction to inline literals, functions, and combinators. 2019-08-22 15:45:24 -07:00
Simon Forman 558f45bf47 minor cleanup 2019-08-20 22:00:27 -07:00
Simon Forman 6e646c012f small func recognizes [] and [X]. 2019-08-19 22:02:06 -07:00
Simon Forman b59e70f96d Rename bar to korf and some docs. 2019-08-18 16:59:31 -07:00
Simon Forman 26c2730273 minor cleanup 2019-08-18 12:17:37 -07:00
Simon Forman 7d44742317 reintroduce definition of fork; it doesn't shadow func(fork, ...). 2019-08-18 11:47:48 -07:00
Simon Forman a5fb17cc48 read child output after local thun/3 2019-08-18 11:09:36 -07:00
Simon Forman 2057d9ee74 truly fork, sort of 2019-08-18 10:53:25 -07:00
Simon Forman 11fdc81409 minor cleanup 2019-08-13 11:58:31 -07:00
Simon Forman 8116b83086 Minor cleanup. 2019-08-13 11:51:41 -07:00
Simon Forman bbc0f750bc Move DCG stuff to own file. 2019-08-13 11:48:08 -07:00
Simon Forman defedcbd12 Parse ints; move line/{1,2} to main.pl. 2019-08-13 11:29:49 -07:00
Simon Forman 3f19b2b210 Parse floating point numbers. 2019-08-13 11:24:28 -07:00
Simon Forman 4c78a31bd9 minor cleanup 2019-08-12 22:29:09 -07:00
Simon Forman d22e6e86dc minor cleanup 2019-08-12 21:59:19 -07:00
Simon Forman 86bf875841 Numbers can be followed by space or [. 2019-08-12 21:29:26 -07:00
Simon Forman 8947dff010 Parse negative numbers. 2019-08-12 21:13:11 -07:00
Simon Forman 143b711028 swapd function 2019-08-12 21:08:35 -07:00
Simon Forman aae0e91c44 assert_defs/1 got upset about not finding combo/5 2019-08-12 21:08:17 -07:00
Simon Forman e67ef3951c Minor cleanup of the parser. 2019-08-12 20:59:02 -07:00
Simon Forman 120610cd6b rework parser DCGs 2019-08-12 20:12:35 -07:00
Simon Forman b25ef2d5f7 Oops! Regression. 2019-08-12 19:25:13 -07:00
Simon Forman dd42c7c0bc minor cleanup 2019-08-12 19:17:15 -07:00
Simon Forman cae79ded8f swoncat and fiddling with parser. 2019-08-12 19:09:49 -07:00
Simon Forman 2e1f598aa2 Experiment with putting logic vars on the stack. 2019-08-11 21:30:02 -07:00
Simon Forman 222c472449 Remove a cut that sucked. 2019-08-11 20:45:49 -07:00
Simon Forman 40148fced9 unstack, least_fraction 2019-08-11 19:57:28 -07:00
Simon Forman 7a4e58fe15 Copyright notices. 2019-08-11 19:41:11 -07:00
Simon Forman afec650c7b The sqrt/1 predicate wasn't working. 2019-08-11 19:35:05 -07:00
Simon Forman 79aa2f972d Multifile func/3. 2019-08-11 18:45:57 -07:00