]>
hydra-www.ietfng.org Git - dyna2/log
Nathaniel Wesley Filardo [Sun, 2 Mar 2014 02:19:03 +0000 (21:19 -0500)]
Move automata library
Nathaniel Wesley Filardo [Thu, 27 Feb 2014 02:36:54 +0000 (21:36 -0500)]
Tweak provided patch as per @timvieira
See https://github.com/nwf/dyna/pull/72#commitcomment-
5504947
kosiakk [Wed, 4 Dec 2013 16:47:20 +0000 (17:47 +0100)]
Failure on parse errors, issue #71
Solved by also searching for non-interval ranges
Conflicts:
docs/sphinx/_themes/bootstrap
Nathaniel Wesley Filardo [Thu, 27 Feb 2014 02:33:30 +0000 (21:33 -0500)]
Tweak build process handling of git submodules
Nathaniel Wesley Filardo [Thu, 27 Feb 2014 02:31:21 +0000 (21:31 -0500)]
Add sphinx bootstrap theme as git submodule
Thanks to kosiakk for the suggestion (via pull request github nwf/dyna#72).
This commit does not us to this theme, merely makes it available. I'll
leave the actual flip to someone with a sense of aesthetics. :)
Alexander Kosenkov [Wed, 18 Sep 2013 01:27:44 +0000 (03:27 +0200)]
Search is broken because of an extra line in git output
Nathaniel Wesley Filardo [Thu, 27 Feb 2014 00:21:43 +0000 (19:21 -0500)]
Tweak build process
Notably, build compiler without tests if we're not asked for tests. It's
not quite perfect, since if we are asked for both a compiler and tests we
`cabal configure` again, but so it goes. Additionally, since we
characterize sphinx as an optional dependency, conditionalize building docs.
Addresses github nwf/dyna#75
Nathaniel Wesley Filardo [Mon, 10 Feb 2014 00:30:09 +0000 (19:30 -0500)]
Minor updates to be compatible with lens 4
Jason Eisner [Mon, 6 Jan 2014 21:27:04 +0000 (16:27 -0500)]
notes from nwf/jason meeting on numbers and strings
Jason Eisner [Fri, 13 Dec 2013 02:32:43 +0000 (21:32 -0500)]
added notes about stability, gensyms/capturing, type inference, randomness (based on discussions with nwf)
Jason Eisner [Fri, 15 Nov 2013 21:58:46 +0000 (16:58 -0500)]
merged in Jason's changes, mostly a lot of "todo" items added to spec/index.rst in late August 2013
Juneki Hong [Fri, 13 Sep 2013 22:17:36 +0000 (18:17 -0400)]
updated and cleaned up the boxes.dyna example. Unfortunately, it still does not run any faster, and the gravity updates still kill the performance of the program. I have it commented out by default so that unsuspecting people can still try running the example without dying.
Juneki Hong [Thu, 5 Sep 2013 01:34:08 +0000 (21:34 -0400)]
Made a boxes.dyna example file. It make some boxes and pushes them out of the way if they collide. The command to run it with the post-processor is listed at the top of the file
Nathaniel Wesley Filardo [Thu, 29 Aug 2013 20:34:26 +0000 (16:34 -0400)]
First cut at a rule planner outside heuristic
This tries to focus the search on plans that are nearer to being done,
hopefully reducing the time-to-first-answer dramatically when a rule has a
lot of subgoals.
Nathaniel Wesley Filardo [Thu, 29 Aug 2013 20:33:40 +0000 (16:33 -0400)]
NoBackend primitives implicit modes, too
This is more of a hack than a proper solution, but for the moment...
Juneki Hong [Sat, 24 Aug 2013 22:06:31 +0000 (18:06 -0400)]
small change to the Makefile. It can now build right after running veryclean. Instead of you having to mkdir the dist/ directory again.
Juneki Hong [Tue, 20 Aug 2013 21:09:50 +0000 (17:09 -0400)]
Think I got bounding box information from text that has been plotted using Matplotlib. This can help us close a feedback loop, allowing dyna to readjust where the text has been rendered on the screen afterwards.
Tim Vieira [Mon, 19 Aug 2013 23:01:15 +0000 (19:01 -0400)]
first-pass at porting @darcey's tutorial to dyna's sphinx docs
Tim Vieira [Fri, 16 Aug 2013 03:33:16 +0000 (23:33 -0400)]
added logo to readme.
Tim Vieira [Thu, 15 Aug 2013 13:31:50 +0000 (09:31 -0400)]
Cleanup top-level dir #69
Tim Vieira [Thu, 15 Aug 2013 13:04:01 +0000 (09:04 -0400)]
Merge ../working
Jason Eisner [Thu, 15 Aug 2013 12:52:03 +0000 (08:52 -0400)]
minor
Jason Eisner [Thu, 15 Aug 2013 12:50:00 +0000 (08:50 -0400)]
formatting
Jason Eisner [Thu, 15 Aug 2013 12:48:29 +0000 (08:48 -0400)]
expanded overview slightly
Jason Eisner [Thu, 15 Aug 2013 12:22:24 +0000 (08:22 -0400)]
format fix
Jason Eisner [Thu, 15 Aug 2013 12:16:14 +0000 (08:16 -0400)]
expanded README.md with tutorial links, download instructions, authorship, and an updated disclaimer.
Tim Vieira [Wed, 14 Aug 2013 19:49:59 +0000 (15:49 -0400)]
several tweaks.
Nathaniel Wesley Filardo [Tue, 13 Aug 2013 23:50:32 +0000 (19:50 -0400)]
Fix sphinx warning
Nathaniel Wesley Filardo [Tue, 13 Aug 2013 23:50:19 +0000 (19:50 -0400)]
Update TODO lists
Nathaniel Wesley Filardo [Tue, 13 Aug 2013 23:48:18 +0000 (19:48 -0400)]
Tweak version target in Makefile
Nathaniel Wesley Filardo [Tue, 13 Aug 2013 23:43:58 +0000 (19:43 -0400)]
New automata library
Factor out all the automata logic from Analysis.Mode.Execution.NamedInst to
its own library (Dyna.Analysis.Automata) and port everything over. I won't
claim it's perfect, but I think it's a good start.
Analysis.Automata.Class is probably the right place to start reading.
Juneki Hong [Tue, 13 Aug 2013 18:35:28 +0000 (14:35 -0400)]
The top of force.dyna suggests to use the --postprocess flag, but the dyna interpreter recognizes a --post-process flag.
Tim Vieira [Wed, 7 Aug 2013 19:43:27 +0000 (15:43 -0400)]
Further improvments to coverage (now at 87%).
Tim Vieira [Tue, 6 Aug 2013 20:12:56 +0000 (16:12 -0400)]
added post processors tests.
Tim Vieira [Tue, 6 Aug 2013 18:52:58 +0000 (14:52 -0400)]
use alist `list (a -> b)` as value of `dict=`.
Tim Vieira [Tue, 6 Aug 2013 18:43:52 +0000 (14:43 -0400)]
see prev
Tim Vieira [Tue, 6 Aug 2013 18:41:42 +0000 (14:41 -0400)]
Consolidate external libs
improve coverage of loaders, coverage omits external libs.
fixed debug script. correctly outputs dopamine.
Tim Vieira [Mon, 5 Aug 2013 22:01:00 +0000 (18:01 -0400)]
ignore coverage.py output
Tim Vieira [Mon, 5 Aug 2013 21:59:45 +0000 (17:59 -0400)]
new test case
Tim Vieira [Mon, 5 Aug 2013 21:58:24 +0000 (17:58 -0400)]
BUGFIX in recompute backchain.
Further improvements to code coverage.
Tim Vieira [Mon, 5 Aug 2013 19:42:24 +0000 (15:42 -0400)]
fix force-directed graph layout example.
Tim Vieira [Mon, 5 Aug 2013 19:31:48 +0000 (15:31 -0400)]
Big improvements to code coverage!
Tim Vieira [Sun, 4 Aug 2013 16:42:44 +0000 (12:42 -0400)]
compiler wont create .anf files by default
Tim Vieira [Sun, 4 Aug 2013 16:38:48 +0000 (12:38 -0400)]
Codegen includes ANF in generated source.
Tim Vieira [Sun, 4 Aug 2013 15:14:04 +0000 (11:14 -0400)]
add path.py to package
Tim Vieira [Sun, 4 Aug 2013 14:48:43 +0000 (10:48 -0400)]
Refactor - put compiler interface in separate module.
Unified duplicate parser state
Cleaned up imports
path.py is back as a dep since IPython's version is too old.
Tim Vieira [Fri, 2 Aug 2013 14:10:34 +0000 (10:10 -0400)]
()
Tim Vieira [Fri, 2 Aug 2013 14:06:22 +0000 (10:06 -0400)]
Merge ../working
Tim Vieira [Fri, 2 Aug 2013 14:00:16 +0000 (10:00 -0400)]
Misc.
- Use IPython's external dependency on path.py in order to avoid the extra dep.
- Added command to REPL for pasting mulitline rules. Related to issue #22.
Tim Vieira [Thu, 1 Aug 2013 21:21:10 +0000 (17:21 -0400)]
cleanup
Tim Vieira [Thu, 1 Aug 2013 20:31:43 +0000 (16:31 -0400)]
Merge ../working
Tim Vieira [Thu, 1 Aug 2013 20:31:36 +0000 (16:31 -0400)]
replace cons comparison operator with something much faster.
Tim Vieira [Thu, 1 Aug 2013 20:18:42 +0000 (16:18 -0400)]
Merge ../working
Tim Vieira [Thu, 1 Aug 2013 20:18:01 +0000 (16:18 -0400)]
Got rid of debug script -- it's now just `--debug` flag on ./dyna
Tim Vieira [Thu, 1 Aug 2013 20:08:45 +0000 (16:08 -0400)]
Merge ../working
Tim Vieira [Thu, 1 Aug 2013 20:08:40 +0000 (16:08 -0400)]
update alist test case.
Tim Vieira [Thu, 1 Aug 2013 20:07:25 +0000 (16:07 -0400)]
Small improvement to REPL debug command.
Tim Vieira [Thu, 1 Aug 2013 20:03:12 +0000 (16:03 -0400)]
Merge ../working
Tim Vieira [Thu, 1 Aug 2013 20:02:05 +0000 (16:02 -0400)]
ignore crashlog directory
Tim Vieira [Thu, 1 Aug 2013 20:01:21 +0000 (16:01 -0400)]
added crash summary.
Tim Vieira [Thu, 1 Aug 2013 17:09:18 +0000 (13:09 -0400)]
Many small tweaks.
- fixed argument disposition of tupling operators: `->` and `:`.
- Compare rules by their index (i.e. equality, hash,q and sort order).
- Recompilation works like rule initialization
Tim Vieira [Wed, 31 Jul 2013 13:38:48 +0000 (09:38 -0400)]
minor refactor.
Tim Vieira [Wed, 31 Jul 2013 13:30:21 +0000 (09:30 -0400)]
Interning is back! However, charts are never deleted.
Fix dict= aggregator, didn't handle the null.
Tim Vieira [Wed, 31 Jul 2013 12:40:05 +0000 (08:40 -0400)]
Tweaks:
- color REPL prompt leads to strange behavior because the width of the prompt
appears to be miscalculated by readline.
- tiny improvement to trace's output format
- tiny tweak to codegen
- doctest shows diff along with what was expected and what it got.
Jason Eisner [Mon, 29 Jul 2013 19:42:35 +0000 (15:42 -0400)]
Filled in spec outline in Sphinx documentation.
Other small changes to documentation organization, configuration, comments, emacs -*- settings,
Tim Vieira [Mon, 29 Jul 2013 16:47:02 +0000 (12:47 -0400)]
add debug method to Rule.
Jason Eisner [Mon, 29 Jul 2013 16:46:46 +0000 (12:46 -0400)]
Merge branch 'master' of https://github.com/nwf/dyna
Jason Eisner [Mon, 29 Jul 2013 16:46:15 +0000 (12:46 -0400)]
changed layout to match sphinx's own documentation, as suggested by sampledoc
Tim Vieira [Mon, 29 Jul 2013 14:19:38 +0000 (10:19 -0400)]
minor cleanup
Jason Eisner [Mon, 29 Jul 2013 01:53:59 +0000 (21:53 -0400)]
Edited conf.py in Sphinx documentation:
call it Dyna rather than Dyna2
changed primary_domain to dy:
added some commented-out stuff that may be useful in future
Tim Vieira [Sun, 28 Jul 2013 18:43:54 +0000 (14:43 -0400)]
added test case for issue #66
Tim Vieira [Sun, 28 Jul 2013 18:33:37 +0000 (14:33 -0400)]
Fixed Issue #66 - "stale backchaining memos when new rules are added"
GBC computation issues proper replacement updates in the case were there was an
old value (i.e. item was non-null).
When rules are recompiled their index stays the same.
Rules which fail to compile are reported as errors, much like rules which fail
to initialize. Rule recompilation is now one rule at a time rather than all in
one go.
Added item hash function.
Updated doctests to reflect all of these changes.
Tim Vieira [Sat, 27 Jul 2013 18:16:13 +0000 (14:16 -0400)]
Incorporate feedback from LI student crashlogs.
- loaders test for whether file exists
- load cmd catches syntax errors
- fixed clearing push-time errors when retracting rule
Documented (and add test cases) for few newly discovered bugs in BC.
Recompile relevant rules after receiving `:- backchain` pragma.
Tim Vieira [Sat, 27 Jul 2013 14:08:21 +0000 (10:08 -0400)]
fix crash report #67; color prompt #64
Tim Vieira [Thu, 25 Jul 2013 18:43:28 +0000 (14:43 -0400)]
git should ignore VERSION file.
Tim Vieira [Thu, 25 Jul 2013 18:42:59 +0000 (14:42 -0400)]
additional tests fro issue #52
Tim Vieira [Thu, 25 Jul 2013 18:42:32 +0000 (14:42 -0400)]
Makefile maintains a VERSION file from which `./dyna --version` will obtain version information.
Tim Vieira [Wed, 24 Jul 2013 22:36:50 +0000 (18:36 -0400)]
fix issue #63.
Tim Vieira [Wed, 24 Jul 2013 19:16:29 +0000 (15:16 -0400)]
small fix.
Tim Vieira [Wed, 24 Jul 2013 18:05:43 +0000 (14:05 -0400)]
added ':' operator.
Tim Vieira [Tue, 23 Jul 2013 17:18:43 +0000 (13:18 -0400)]
After retracting all rules defining a functor/arity user is allowed to
change aggregator; Issue #61: can't retract wrong aggregator.
Tim Vieira [Tue, 23 Jul 2013 07:24:59 +0000 (03:24 -0400)]
Issue #62: allow Dyna to report its own version.
Tim Vieira [Tue, 23 Jul 2013 04:00:22 +0000 (00:00 -0400)]
added `|=` and fixed `:-`.
updated `test/repl/boolean-aggregators.dynadoc`
Tim Vieira [Sun, 21 Jul 2013 23:29:22 +0000 (19:29 -0400)]
tweak
Tim Vieira [Sun, 21 Jul 2013 22:46:24 +0000 (18:46 -0400)]
add test case for an instance of a cyclic program which uselessly runs off to infinity when we retract a node.
Tim Vieira [Sun, 21 Jul 2013 22:40:33 +0000 (18:40 -0400)]
added test case from issue #31 - late backchaining declarations.
Tim Vieira [Sun, 21 Jul 2013 22:36:05 +0000 (18:36 -0400)]
recompile rules on late backchain declaration (Issue #31); requires running
compiler to fixed point; maintaining a set of failed rules.
small tweak (hacky) to make compiler error messages friendlier -- show rule
source instead of `<repl>` (which was the mask for a big sha1+linenumbers).
Tim Vieira [Sun, 21 Jul 2013 12:30:15 +0000 (08:30 -0400)]
Address Issue #51 - showing errors in "Changes"
updated doctests, caught some cases of missing clear error.
Tim Vieira [Sat, 20 Jul 2013 18:28:01 +0000 (14:28 -0400)]
tweaks/cleanup
Tim Vieira [Fri, 19 Jul 2013 18:44:22 +0000 (14:44 -0400)]
added test case for issue #52 -- keeping $key up to date.
Tim Vieira [Fri, 19 Jul 2013 18:43:00 +0000 (14:43 -0400)]
add test for transitive deps in memoized BC rule retraction.
Tim Vieira [Fri, 19 Jul 2013 18:37:32 +0000 (14:37 -0400)]
Big improvments to memoized BC rule retraction. We now correctly update
transitive dependents (before we didn't refresh the memos, so we were getting
incorrect behavior).
Catch ^C again..
Minor tweak to make fewer replacement updates to $key.
Tim Vieira [Thu, 18 Jul 2013 17:21:54 +0000 (13:21 -0400)]
Fixed issue #52.
Tim Vieira [Thu, 18 Jul 2013 17:01:19 +0000 (13:01 -0400)]
better error msgs.
Tim Vieira [Thu, 18 Jul 2013 14:59:49 +0000 (10:59 -0400)]
minor tweaks.
Tim Vieira [Thu, 18 Jul 2013 12:31:03 +0000 (08:31 -0400)]
fixed Issue #57
Tim Vieira [Wed, 17 Jul 2013 21:54:51 +0000 (17:54 -0400)]
()
Tim Vieira [Wed, 17 Jul 2013 21:18:29 +0000 (17:18 -0400)]
refactored code, resolved asymmetries between FC and BC (and within each) --
code now has fewer special cases and should have fixed a bunch of bugs we didn't
even know we had :-X
don't show BC items in changes.
(BC retraction has improved, but it's still not 100% correct thanks to stale
memos)
Tim Vieira [Wed, 17 Jul 2013 19:15:19 +0000 (15:15 -0400)]
Clean up agenda loop.
Tim Vieira [Wed, 17 Jul 2013 03:49:50 +0000 (23:49 -0400)]
anf file required.