Commit Graph

7 Commits

Author SHA1 Message Date
Simon Forman 9ee50a6268 Minor edits. 2018-06-27 16:31:00 -07:00
Simon Forman db28989b64 Trying to add a guard to combinators.
So they can notice if they're given a stack that doesn't match what
they're expecting.

This seems to work, but I realized that type variables in the pending
expression need to be update()'d too.  hmm...
2018-06-26 21:45:58 -07:00
Simon Forman eb739024eb Type checking, initial work. 2018-06-26 15:23:51 -07:00
Simon Forman 705c95ee28 Fix a couple of bug in Kleene Stars.
...and some minor cleanup.
2018-06-25 12:43:05 -07:00
Simon Forman f1979f35ce Some more tests.
Damn thing seems to be working.
2018-06-25 06:51:12 -07:00
Simon Forman baae1a5b36 Change name of kav() to infer(). 2018-06-24 18:48:22 -07:00
Simon Forman ad83e1607e Writing tests.
I'm backfilling tests to cover the functionality that I developed
incrementally in the Jupyter notebook and nail it down with concrete
examples.  No doubt I'll uncover some bugs.
2018-06-24 18:44:29 -07:00