dyna icon indicating copy to clipboard operation
dyna copied to clipboard

Dyna2 compiler and REPL

Results 53 dyna issues
Sort by recently updated
recently updated
newest added

Eventually we'll want to worry about reclaiming (unmemoized) terms from the intern table. Discussion of Dyna 1 is here: http://www.dyna.org/wiki/index.php?title=Garbage_collection

enhancement

Could user input be shown at the REPL in a special color? Or perhaps in bold? It's nice to distinguish input from output when scrolling. And it would also be...

enhancement
REPL

Syntactic bug in implementation of #29. This works: ``` pathto(start) min= 0 with_key [start]. pathto(V) min= pathto(U) + edge(U,V) with_key [V | bestpath(U)]. bestpath(U) = $key(pathto(U)). ``` But this doesn't:...

Ultimately by type checking, of course, but for now you could even do it by adding a conjunct of the form is_bool(X).

Right now results are sorted by an item's print name, giving the out-of-order results below. It would be nice to sort instead by a recursive comparison function on terms that...

It would be nice if Dyna had some kind of randomization, so students could play around with generating random ngram sentences.

enhancement

I was having trouble getting forward-backward to converge in the cyclic word graph, even when I kept only the swapadj edges (so there weren't many) and made them be low-probability...

@jeisner writes on Issue #1: > @timvieira: We should probably scrap dumping then entire charts all together. Eventually (when we have backward chaining) many items won't be eagerly derived. Yes,...

@nwf: Students who innocently try to define an innocent-looking function will be met with a scary and unhelpful error message (see below). I'd rather not have to explain planning and...