]>
hydra-www.ietfng.org Git - dyna2/log
timv [Tue, 18 Dec 2012 19:46:57 +0000 (14:46 -0500)]
REPL uses dyna compiler to get plans; suppports (to some extent) the addition of
new rules (deletion or rules should be pretty easy to add).
improvements to code load and compile.
Python codegen no longer uses call indirection table.
'and_equals' and 'or_equals' use python 'and' and 'or' instead of python '&' and
'|', which are bit-twiddling operations.
timv [Tue, 18 Dec 2012 04:51:58 +0000 (23:51 -0500)]
merge
Nathaniel Wesley Filardo [Mon, 17 Dec 2012 23:30:43 +0000 (18:30 -0500)]
Rework rule planner to take modes from backend
While here, factor out some material to Dyna.Analysis.Base, and execute a
proof-of-concept change by adding true/0 and false/0 as constants which
evaluate to True and False in the Python backend.
Some other minor changes seem to have crept in, too.
timv [Mon, 17 Dec 2012 20:50:06 +0000 (15:50 -0500)]
nonlinear unification.
timv [Mon, 17 Dec 2012 20:49:35 +0000 (15:49 -0500)]
row slicing - an example of interesting structure building
timv [Mon, 17 Dec 2012 20:48:57 +0000 (15:48 -0500)]
example of aggregator conflict.
timv [Mon, 17 Dec 2012 20:48:05 +0000 (15:48 -0500)]
doc tweaks.
timv [Mon, 17 Dec 2012 20:47:30 +0000 (15:47 -0500)]
using "pair-valued" shape as suggested by Jason in 12/14 Dyna meeting.
timv [Mon, 17 Dec 2012 20:46:30 +0000 (15:46 -0500)]
added sigmoid - a simple example of back-chained math
timv [Mon, 17 Dec 2012 20:45:52 +0000 (15:45 -0500)]
tweaks to dijkstras
timv [Mon, 17 Dec 2012 20:43:37 +0000 (15:43 -0500)]
tiny tweak to codegen
timv [Fri, 14 Dec 2012 18:36:16 +0000 (13:36 -0500)]
rename
--HG--
rename : bin/stdlib.py => bin/interpreter.py
timv [Fri, 14 Dec 2012 17:23:21 +0000 (12:23 -0500)]
minor bugfix in plus equals and times equals aggregator, regarding None
values. This tweaks the reactivity issues I was having with the papa2 example.
I've also made a few minor, cleanup/tweaks to stdlib.
timv [Thu, 13 Dec 2012 21:59:31 +0000 (16:59 -0500)]
tweaks
timv [Thu, 13 Dec 2012 18:53:15 +0000 (13:53 -0500)]
tweaks to python code.
timv [Thu, 13 Dec 2012 18:47:25 +0000 (13:47 -0500)]
merge
timv [Thu, 13 Dec 2012 18:46:48 +0000 (13:46 -0500)]
matrix shape.
Nathaniel Wesley Filardo [Thu, 13 Dec 2012 06:25:58 +0000 (01:25 -0500)]
Create Dyna.Main. and move exceptions there
timv [Thu, 13 Dec 2012 05:26:29 +0000 (00:26 -0500)]
fix boo-boo
timv [Thu, 13 Dec 2012 04:29:04 +0000 (23:29 -0500)]
FIX: aggregating on empty returns None, which now propagate correctly thru the
program.
Nathaniel Wesley Filardo [Thu, 13 Dec 2012 04:19:34 +0000 (23:19 -0500)]
Add examples/dijkstra.dyna, taken from Dyna 1
timv [Thu, 13 Dec 2012 04:10:44 +0000 (23:10 -0500)]
tweaks.
timv [Thu, 13 Dec 2012 03:33:20 +0000 (22:33 -0500)]
tweaks
timv [Thu, 13 Dec 2012 03:21:06 +0000 (22:21 -0500)]
()
timv [Thu, 13 Dec 2012 03:20:54 +0000 (22:20 -0500)]
()
timv [Thu, 13 Dec 2012 03:09:30 +0000 (22:09 -0500)]
merge
timv [Thu, 13 Dec 2012 03:09:09 +0000 (22:09 -0500)]
()
Nathaniel Wesley Filardo [Thu, 13 Dec 2012 03:07:12 +0000 (22:07 -0500)]
Let's try that again.
Nathaniel Wesley Filardo [Thu, 13 Dec 2012 03:05:32 +0000 (22:05 -0500)]
Stop being quite so ambitious in Analysis.RuleMode.inv
timv [Thu, 13 Dec 2012 02:52:08 +0000 (21:52 -0500)]
simpl, flat, replacement updates in python script.
timv [Thu, 13 Dec 2012 02:50:58 +0000 (21:50 -0500)]
very nice webpage generated.
timv [Wed, 12 Dec 2012 21:51:05 +0000 (16:51 -0500)]
merge
Nathaniel Wesley Filardo [Wed, 12 Dec 2012 21:50:27 +0000 (16:50 -0500)]
Missed in the last round of commits
timv [Wed, 12 Dec 2012 21:48:29 +0000 (16:48 -0500)]
merge
timv [Wed, 12 Dec 2012 21:46:50 +0000 (16:46 -0500)]
working on some javascript hacks to help us manage our compiler output.
Nathaniel Wesley Filardo [Wed, 12 Dec 2012 21:44:27 +0000 (16:44 -0500)]
More .gitignore rules
Nathaniel Wesley Filardo [Wed, 12 Dec 2012 21:44:13 +0000 (16:44 -0500)]
Add perverse examples
Nathaniel Wesley Filardo [Wed, 12 Dec 2012 21:44:00 +0000 (16:44 -0500)]
Code shuffling for debugging backends
timv [Wed, 12 Dec 2012 21:19:46 +0000 (16:19 -0500)]
remove old update planner.
timv [Wed, 12 Dec 2012 21:19:27 +0000 (16:19 -0500)]
ENH: dump-to-file/display stable rendering of chart.
Nathaniel Wesley Filardo [Wed, 12 Dec 2012 20:54:15 +0000 (15:54 -0500)]
Handle "diagonal" cases in rule planner
timv [Wed, 12 Dec 2012 20:46:27 +0000 (15:46 -0500)]
FIX: accidently delete on unchanged values
timv [Wed, 12 Dec 2012 20:37:09 +0000 (15:37 -0500)]
tweaks.
timv [Wed, 12 Dec 2012 20:00:26 +0000 (15:00 -0500)]
Put "call" indirection table and aggregator definitions in defn ("definitions")
module.
timv [Wed, 12 Dec 2012 19:51:46 +0000 (14:51 -0500)]
added matrixops examples; demonstrates the "edge template overcounting problem" - a template which shouldnt fire more than once results in overcounting.
timv [Wed, 12 Dec 2012 09:57:16 +0000 (04:57 -0500)]
FIX: run_agenda termination condition
FIX: more fixes pertaining to python tuple unpacking.
timv [Wed, 12 Dec 2012 06:34:28 +0000 (01:34 -0500)]
elaborate papa2 example works!
use correct aggregators for each functor.
timv [Wed, 12 Dec 2012 05:45:12 +0000 (00:45 -0500)]
merge
Nathaniel Wesley Filardo [Wed, 12 Dec 2012 05:43:11 +0000 (00:43 -0500)]
Merge branch 'master' of github.com:nwf/dyna
timv [Wed, 12 Dec 2012 05:42:17 +0000 (00:42 -0500)]
merge
timv [Wed, 12 Dec 2012 05:41:42 +0000 (00:41 -0500)]
merge
Nathaniel Wesley Filardo [Wed, 12 Dec 2012 05:41:21 +0000 (00:41 -0500)]
Tweak Analysis.RuleMode planning strategy
This should result in all-bound OPCalls being earlier in update plans,
leading to earlier bail-out in the case of an update not being applicable.
timv [Wed, 12 Dec 2012 05:40:24 +0000 (00:40 -0500)]
FIX: syntactic issues - can't assign to "()"
FIX: "continue" cases in for-loops
Nathaniel Wesley Filardo [Wed, 12 Dec 2012 04:08:34 +0000 (23:08 -0500)]
Linearization & annotation handling in ANF
timv [Wed, 12 Dec 2012 02:49:21 +0000 (21:49 -0500)]
merge
timv [Wed, 12 Dec 2012 02:46:50 +0000 (21:46 -0500)]
added papa2 example.
Nathaniel Wesley Filardo [Wed, 12 Dec 2012 02:46:12 +0000 (21:46 -0500)]
A little smarter Analysis.RuleMode planner
timv [Wed, 12 Dec 2012 02:45:47 +0000 (21:45 -0500)]
renderSpan moved to trifecta utils.
timv [Wed, 12 Dec 2012 02:44:30 +0000 (21:44 -0500)]
fixed bug in loading anf output.
timv [Wed, 12 Dec 2012 02:44:08 +0000 (21:44 -0500)]
take dyna source as input, asks dyna compiler to compile.
timv [Wed, 12 Dec 2012 02:43:46 +0000 (21:43 -0500)]
escape quote characters so we don't break graphviz.
Nathaniel Wesley Filardo [Wed, 12 Dec 2012 02:38:58 +0000 (21:38 -0500)]
Merge branch 'master' of github.com:nwf/dyna
Nathaniel Wesley Filardo [Wed, 12 Dec 2012 02:38:27 +0000 (21:38 -0500)]
Maybe fix aggregator parsing
Dot is not an aggregator
timv [Tue, 11 Dec 2012 23:45:06 +0000 (18:45 -0500)]
added papa.dyna to examples.
timv [Tue, 11 Dec 2012 23:44:51 +0000 (18:44 -0500)]
()
timv [Tue, 11 Dec 2012 23:44:39 +0000 (18:44 -0500)]
use (generated) initializers.
timv [Tue, 11 Dec 2012 21:48:29 +0000 (16:48 -0500)]
merge
Nathaniel Wesley Filardo [Tue, 11 Dec 2012 21:31:20 +0000 (16:31 -0500)]
Attempt to handle "is/2" in normalizer; fallout
timv [Tue, 11 Dec 2012 21:04:36 +0000 (16:04 -0500)]
stdlib: "Papa" example works.
Nathaniel Wesley Filardo [Tue, 11 Dec 2012 19:07:16 +0000 (14:07 -0500)]
Add planning for initializers; make python write them
timv [Tue, 11 Dec 2012 18:55:00 +0000 (13:55 -0500)]
WIP: more pieces of the puzzle
timv [Tue, 11 Dec 2012 06:55:06 +0000 (01:55 -0500)]
merge
timv [Tue, 11 Dec 2012 06:51:42 +0000 (01:51 -0500)]
Crude implementation of the chart and other utils. Starting to spin the wheels on CKY on a simple sentence.
timv [Tue, 11 Dec 2012 02:56:59 +0000 (21:56 -0500)]
tweaks
Nathaniel Wesley Filardo [Mon, 10 Dec 2012 22:57:28 +0000 (17:57 -0500)]
Adjust variable naming convention slightly
timv [Mon, 10 Dec 2012 22:24:02 +0000 (17:24 -0500)]
merge
timv [Mon, 10 Dec 2012 22:22:50 +0000 (17:22 -0500)]
added Dyna/Test/Main2.hs - temporary test runner which skips K3Backend tests.
timv [Mon, 10 Dec 2012 22:14:24 +0000 (17:14 -0500)]
Minor refactoring: ANFRules carry around ANFState and Trifecta Span information.
renamed type FDR to FRule to match the constructor.
Nathaniel Wesley Filardo [Mon, 10 Dec 2012 20:49:00 +0000 (15:49 -0500)]
Restore inverse math; drop arity from OPGetArgsIf
Nathaniel Wesley Filardo [Mon, 10 Dec 2012 20:43:22 +0000 (15:43 -0500)]
Restore deleted submodules
timv [Mon, 10 Dec 2012 20:03:41 +0000 (15:03 -0500)]
removed Analysis/RuleModeTest.hs, the old Python code generator, in favor of Backend/Python.hs.
timv [Mon, 10 Dec 2012 20:02:18 +0000 (15:02 -0500)]
Improvements python code generation.
Require end of file when parsing file.
timv [Mon, 10 Dec 2012 19:59:37 +0000 (14:59 -0500)]
Using "_" instead of "_$" as our intermediate variable prefix.
Nathaniel Wesley Filardo [Mon, 10 Dec 2012 09:12:57 +0000 (04:12 -0500)]
Tweak ANF, etc.; clone pdope in Backend.Python
This commit is known to break Dyna.Analysis.RuleModeTest; sorry.
Nathaniel Wesley Filardo [Mon, 10 Dec 2012 08:02:43 +0000 (03:02 -0500)]
Manual merge
Nathaniel Wesley Filardo [Mon, 10 Dec 2012 07:59:32 +0000 (02:59 -0500)]
Yet another stab at ANF
timv [Mon, 10 Dec 2012 07:00:09 +0000 (02:00 -0500)]
crummy code generation from crummy plans.
timv [Mon, 10 Dec 2012 06:54:38 +0000 (01:54 -0500)]
first pass at dopeamine pretty printing.
timv [Mon, 10 Dec 2012 06:54:01 +0000 (01:54 -0500)]
first pass at dopeamine pretty printing.
timv [Mon, 10 Dec 2012 01:36:13 +0000 (20:36 -0500)]
added test case; whitespace cleanup
timv [Mon, 10 Dec 2012 01:35:23 +0000 (20:35 -0500)]
added a few more dyna examples
Nathaniel Wesley Filardo [Mon, 10 Dec 2012 01:32:15 +0000 (20:32 -0500)]
Start Dyna.Backend.Python; add Analysis.Aggregation; tweak ANF
Nathaniel Wesley Filardo [Sun, 9 Dec 2012 22:50:18 +0000 (17:50 -0500)]
Add mapUpsert to XXX.DataUtils
Nathaniel Wesley Filardo [Sun, 9 Dec 2012 22:50:00 +0000 (17:50 -0500)]
Tweaks to Analysis.ANF and friends
Nathaniel Wesley Filardo [Sun, 9 Dec 2012 20:57:16 +0000 (15:57 -0500)]
Another day, another try at Analysis.RuleMode
This time around, we're more dopaminergic.
Nathaniel Wesley Filardo [Sun, 9 Dec 2012 20:57:08 +0000 (15:57 -0500)]
Comments in ParserHS
Nathaniel Wesley Filardo [Sun, 9 Dec 2012 06:18:45 +0000 (01:18 -0500)]
Initial pass at rule mode planning in Haskell
Tim Vieira [Sun, 9 Dec 2012 04:33:41 +0000 (23:33 -0500)]
merge
Tim Vieira [Sun, 9 Dec 2012 04:29:05 +0000 (23:29 -0500)]
tweak imports
Nathaniel Wesley Filardo [Sun, 9 Dec 2012 04:07:12 +0000 (23:07 -0500)]
Parameterize Analysis.ANF.NT on the contents of a variable