]> hydra-www.ietfng.org Git - dyna2/log
dyna2
13 years agoMerge branch 'master' of github.com:nwf/dyna
Nathaniel Wesley Filardo [Wed, 12 Dec 2012 05:43:11 +0000 (00:43 -0500)]
Merge branch 'master' of github.com:nwf/dyna

13 years agomerge
timv [Wed, 12 Dec 2012 05:41:42 +0000 (00:41 -0500)]
merge

13 years agoTweak Analysis.RuleMode planning strategy
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.

13 years agoLinearization & annotation handling in ANF
Nathaniel Wesley Filardo [Wed, 12 Dec 2012 04:08:34 +0000 (23:08 -0500)]
Linearization & annotation handling in ANF

13 years agomerge
timv [Wed, 12 Dec 2012 02:49:21 +0000 (21:49 -0500)]
merge

13 years agoadded papa2 example.
timv [Wed, 12 Dec 2012 02:46:50 +0000 (21:46 -0500)]
added papa2 example.

13 years agoA little smarter Analysis.RuleMode planner
Nathaniel Wesley Filardo [Wed, 12 Dec 2012 02:46:12 +0000 (21:46 -0500)]
A little smarter Analysis.RuleMode planner

13 years agorenderSpan moved to trifecta utils.
timv [Wed, 12 Dec 2012 02:45:47 +0000 (21:45 -0500)]
renderSpan moved to trifecta utils.

13 years agofixed bug in loading anf output.
timv [Wed, 12 Dec 2012 02:44:30 +0000 (21:44 -0500)]
fixed bug in loading anf output.

13 years agotake dyna source as input, asks dyna compiler to compile.
timv [Wed, 12 Dec 2012 02:44:08 +0000 (21:44 -0500)]
take dyna source as input, asks dyna compiler to compile.

13 years agoescape quote characters so we don't break graphviz.
timv [Wed, 12 Dec 2012 02:43:46 +0000 (21:43 -0500)]
escape quote characters so we don't break graphviz.

13 years agoMerge branch 'master' of github.com:nwf/dyna
Nathaniel Wesley Filardo [Wed, 12 Dec 2012 02:38:58 +0000 (21:38 -0500)]
Merge branch 'master' of github.com:nwf/dyna

13 years agoMaybe fix aggregator parsing
Nathaniel Wesley Filardo [Wed, 12 Dec 2012 02:38:27 +0000 (21:38 -0500)]
Maybe fix aggregator parsing

Dot is not an aggregator

13 years agoadded papa.dyna to examples.
timv [Tue, 11 Dec 2012 23:45:06 +0000 (18:45 -0500)]
added papa.dyna to examples.

13 years ago()
timv [Tue, 11 Dec 2012 23:44:51 +0000 (18:44 -0500)]
()

13 years agouse (generated) initializers.
timv [Tue, 11 Dec 2012 23:44:39 +0000 (18:44 -0500)]
use (generated) initializers.

13 years agomerge
timv [Tue, 11 Dec 2012 21:48:29 +0000 (16:48 -0500)]
merge

13 years agoAttempt to handle "is/2" in normalizer; fallout
Nathaniel Wesley Filardo [Tue, 11 Dec 2012 21:31:20 +0000 (16:31 -0500)]
Attempt to handle "is/2" in normalizer; fallout

13 years agostdlib: "Papa" example works.
timv [Tue, 11 Dec 2012 21:04:36 +0000 (16:04 -0500)]
stdlib: "Papa" example works.

13 years agoAdd planning for initializers; make python write them
Nathaniel Wesley Filardo [Tue, 11 Dec 2012 19:07:16 +0000 (14:07 -0500)]
Add planning for initializers; make python write them

13 years agoWIP: more pieces of the puzzle
timv [Tue, 11 Dec 2012 18:55:00 +0000 (13:55 -0500)]
WIP: more pieces of the puzzle

13 years agomerge
timv [Tue, 11 Dec 2012 06:55:06 +0000 (01:55 -0500)]
merge

13 years agoCrude implementation of the chart and other utils. Starting to spin the wheels on...
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.

13 years agotweaks
timv [Tue, 11 Dec 2012 02:56:59 +0000 (21:56 -0500)]
tweaks

13 years agoAdjust variable naming convention slightly
Nathaniel Wesley Filardo [Mon, 10 Dec 2012 22:57:28 +0000 (17:57 -0500)]
Adjust variable naming convention slightly

13 years agomerge
timv [Mon, 10 Dec 2012 22:24:02 +0000 (17:24 -0500)]
merge

13 years agoadded Dyna/Test/Main2.hs - temporary test runner which skips K3Backend tests.
timv [Mon, 10 Dec 2012 22:22:50 +0000 (17:22 -0500)]
added Dyna/Test/Main2.hs - temporary test runner which skips K3Backend tests.

13 years agoMinor refactoring: ANFRules carry around ANFState and Trifecta Span information.
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.

13 years agoRestore inverse math; drop arity from OPGetArgsIf
Nathaniel Wesley Filardo [Mon, 10 Dec 2012 20:49:00 +0000 (15:49 -0500)]
Restore inverse math; drop arity from OPGetArgsIf

13 years agoRestore deleted submodules
Nathaniel Wesley Filardo [Mon, 10 Dec 2012 20:43:22 +0000 (15:43 -0500)]
Restore deleted submodules

13 years agoremoved Analysis/RuleModeTest.hs, the old Python code generator, in favor of Backend...
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.

13 years agoImprovements python code generation.
timv [Mon, 10 Dec 2012 20:02:18 +0000 (15:02 -0500)]
Improvements python code generation.

Require end of file when parsing file.

13 years agoUsing "_" instead of "_$" as our intermediate variable prefix.
timv [Mon, 10 Dec 2012 19:59:37 +0000 (14:59 -0500)]
Using "_" instead of "_$" as our intermediate variable prefix.

13 years agoTweak ANF, etc.; clone pdope in Backend.Python
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.

13 years agoManual merge
Nathaniel Wesley Filardo [Mon, 10 Dec 2012 08:02:43 +0000 (03:02 -0500)]
Manual merge

13 years agoYet another stab at ANF
Nathaniel Wesley Filardo [Mon, 10 Dec 2012 07:59:32 +0000 (02:59 -0500)]
Yet another stab at ANF

13 years agocrummy code generation from crummy plans.
timv [Mon, 10 Dec 2012 07:00:09 +0000 (02:00 -0500)]
crummy code generation from crummy plans.

13 years agofirst pass at dopeamine pretty printing.
timv [Mon, 10 Dec 2012 06:54:38 +0000 (01:54 -0500)]
first pass at dopeamine pretty printing.

13 years agofirst pass at dopeamine pretty printing.
timv [Mon, 10 Dec 2012 06:54:01 +0000 (01:54 -0500)]
first pass at dopeamine pretty printing.

13 years agoadded test case; whitespace cleanup
timv [Mon, 10 Dec 2012 01:36:13 +0000 (20:36 -0500)]
added test case; whitespace cleanup

13 years agoadded a few more dyna examples
timv [Mon, 10 Dec 2012 01:35:23 +0000 (20:35 -0500)]
added a few more dyna examples

13 years agoStart Dyna.Backend.Python; add Analysis.Aggregation; tweak ANF
Nathaniel Wesley Filardo [Mon, 10 Dec 2012 01:32:15 +0000 (20:32 -0500)]
Start Dyna.Backend.Python; add Analysis.Aggregation; tweak ANF

13 years agoAdd mapUpsert to XXX.DataUtils
Nathaniel Wesley Filardo [Sun, 9 Dec 2012 22:50:18 +0000 (17:50 -0500)]
Add mapUpsert to XXX.DataUtils

13 years agoTweaks to Analysis.ANF and friends
Nathaniel Wesley Filardo [Sun, 9 Dec 2012 22:50:00 +0000 (17:50 -0500)]
Tweaks to Analysis.ANF and friends

13 years agoAnother day, another try at Analysis.RuleMode
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.

13 years agoComments in ParserHS
Nathaniel Wesley Filardo [Sun, 9 Dec 2012 20:57:08 +0000 (15:57 -0500)]
Comments in ParserHS

13 years agoInitial pass at rule mode planning in Haskell
Nathaniel Wesley Filardo [Sun, 9 Dec 2012 06:18:45 +0000 (01:18 -0500)]
Initial pass at rule mode planning in Haskell

13 years agomerge
Tim Vieira [Sun, 9 Dec 2012 04:33:41 +0000 (23:33 -0500)]
merge

13 years agotweak imports
Tim Vieira [Sun, 9 Dec 2012 04:29:05 +0000 (23:29 -0500)]
tweak imports

13 years agoParameterize Analysis.ANF.NT on the contents of a variable
Nathaniel Wesley Filardo [Sun, 9 Dec 2012 04:07:12 +0000 (23:07 -0500)]
Parameterize Analysis.ANF.NT on the contents of a variable

13 years agoTweak Analysis.ANF
Nathaniel Wesley Filardo [Sun, 9 Dec 2012 01:45:54 +0000 (20:45 -0500)]
Tweak Analysis.ANF

13 years agoMove ANF to hackish, but flat, representation
Nathaniel Wesley Filardo [Fri, 7 Dec 2012 23:41:13 +0000 (18:41 -0500)]
Move ANF to hackish, but flat, representation

13 years agoMerge branch 'master' of github.com:nwf/dyna
Nathaniel Wesley Filardo [Fri, 7 Dec 2012 02:18:54 +0000 (21:18 -0500)]
Merge branch 'master' of github.com:nwf/dyna

13 years agoCompilation fixes and tweaks to HList utils
Nathaniel Wesley Filardo [Fri, 7 Dec 2012 02:18:40 +0000 (21:18 -0500)]
Compilation fixes and tweaks to HList utils

13 years agoCompilation fixes to THTuple for new GHC
Nathaniel Wesley Filardo [Fri, 7 Dec 2012 02:17:56 +0000 (21:17 -0500)]
Compilation fixes to THTuple for new GHC

13 years agoMerge branch 'master' of github.com:nwf/dyna
Tim Vieira [Thu, 6 Dec 2012 23:04:37 +0000 (18:04 -0500)]
Merge branch 'master' of github.com:nwf/dyna

13 years agofixed bug in update plan section headings.
Tim Vieira [Thu, 6 Dec 2012 23:04:31 +0000 (18:04 -0500)]
fixed bug in update plan section headings.

13 years agoWIP: towards a new spin on K3 backend
Nathaniel Wesley Filardo [Thu, 6 Dec 2012 01:16:41 +0000 (20:16 -0500)]
WIP: towards a new spin on K3 backend

13 years agoPretty up the frontend code a bit
Nathaniel Wesley Filardo [Tue, 4 Dec 2012 20:51:25 +0000 (15:51 -0500)]
Pretty up the frontend code a bit

13 years agodump update plans to html output; clean up
Tim Vieira [Mon, 3 Dec 2012 21:13:36 +0000 (16:13 -0500)]
dump update plans to html output; clean up

13 years agorenamed anfviz to prototype to better reflect what the script actually does.
Tim Vieira [Mon, 3 Dec 2012 21:02:50 +0000 (16:02 -0500)]
renamed anfviz to prototype to better reflect what the script actually does.

13 years agocleanup utils.
Tim Vieira [Mon, 3 Dec 2012 21:01:23 +0000 (16:01 -0500)]
cleanup utils.

13 years agoPair programming to the rescue! Fixed update planning algorithm works! Our
Tim Vieira [Mon, 3 Dec 2012 20:11:31 +0000 (15:11 -0500)]
Pair programming to the rescue! Fixed update planning algorithm works! Our
solution is a brute-force search algorihtm for a feasible solution.

13 years agoupdate planning: work in progress.
Tim Vieira [Mon, 3 Dec 2012 18:24:59 +0000 (13:24 -0500)]
update planning: work in progress.

13 years agoMerge branch 'master' of github.com:nwf/dyna
Tim Vieira [Sat, 1 Dec 2012 18:44:04 +0000 (13:44 -0500)]
Merge branch 'master' of github.com:nwf/dyna

13 years agoENH: pprint no longer wraps variables in quotes
Tim Vieira [Sat, 1 Dec 2012 18:43:55 +0000 (13:43 -0500)]
ENH: pprint no longer wraps variables in quotes

13 years agoSeveral changes: "update planning", bugfixes, enhancements, cleanup
Tim Vieira [Sat, 1 Dec 2012 18:36:25 +0000 (13:36 -0500)]
Several changes: "update planning", bugfixes, enhancements, cleanup

NEW: "Update Planning" steps towards generating code to handle update/queries to
individual terms in rules (in forward and backward chaining).

BUGFIX: hypergraph incoming and outgoing indices where buggy

ENH: using graphviz SVG output for nicer graphics

CLEANUP: anfviz moved some code into separate file bin/utils.py

13 years agoTowards "query planning" -- half of two-stage approach complete.
timv [Fri, 30 Nov 2012 20:33:32 +0000 (15:33 -0500)]
Towards "query planning" -- half of two-stage approach complete.

13 years agoTweak ANF normalization
Nathaniel Wesley Filardo [Fri, 30 Nov 2012 18:29:56 +0000 (13:29 -0500)]
Tweak ANF normalization

13 years agoMerge branch 'master' of github.com:nwf/dyna
timv [Fri, 30 Nov 2012 18:13:11 +0000 (13:13 -0500)]
Merge branch 'master' of github.com:nwf/dyna

13 years agoanfviz - produces html output for an entire dyna program.
timv [Fri, 30 Nov 2012 18:09:03 +0000 (13:09 -0500)]
anfviz - produces html output for an entire dyna program.

added examples directory and a few example dyna programs.

BUGFIX (minor) in normalize parse pretty printer (handled numbers in the result
incorrectly).

13 years agoMerge branch 'master' of github.com:nwf/dyna
Nathaniel Wesley Filardo [Thu, 29 Nov 2012 07:12:45 +0000 (02:12 -0500)]
Merge branch 'master' of github.com:nwf/dyna

13 years agoTweak README and authors in dyna.cabal
Nathaniel Wesley Filardo [Thu, 29 Nov 2012 07:12:29 +0000 (02:12 -0500)]
Tweak README and authors in dyna.cabal

13 years agoWiden the type on incState in MonadUtils
Nathaniel Wesley Filardo [Thu, 29 Nov 2012 07:11:15 +0000 (02:11 -0500)]
Widen the type on incState in MonadUtils

13 years agoAdd hrllen to HList utilities module
Nathaniel Wesley Filardo [Thu, 29 Nov 2012 07:10:58 +0000 (02:10 -0500)]
Add hrllen to HList utilities module

13 years agoFix logic inversion in NormalizeParse
Nathaniel Wesley Filardo [Thu, 29 Nov 2012 07:10:45 +0000 (02:10 -0500)]
Fix logic inversion in NormalizeParse

13 years agoTweak the parser as suggested by Tim V
Nathaniel Wesley Filardo [Thu, 29 Nov 2012 07:10:31 +0000 (02:10 -0500)]
Tweak the parser as suggested by Tim V

13 years agoadded anf visualizater (python script)
timv [Thu, 29 Nov 2012 06:50:49 +0000 (01:50 -0500)]
added anf visualizater (python script)

BUGFIX: NormalizeParse works now...

13 years agoMissed file from last time
Nathaniel Wesley Filardo [Thu, 29 Nov 2012 05:10:51 +0000 (00:10 -0500)]
Missed file from last time

13 years agoFirst part of new NormalizeParse
Nathaniel Wesley Filardo [Thu, 29 Nov 2012 05:09:30 +0000 (00:09 -0500)]
First part of new NormalizeParse

13 years agoMerge branch 'master' of github.com:nwf/dyna
timv [Thu, 29 Nov 2012 04:48:14 +0000 (23:48 -0500)]
Merge branch 'master' of github.com:nwf/dyna

13 years agoadded ANF pretty printer
timv [Thu, 29 Nov 2012 04:47:09 +0000 (23:47 -0500)]
added ANF pretty printer

13 years agoMerge branch 'master' of github.com:nwf/dyna
Nathaniel Wesley Filardo [Thu, 29 Nov 2012 04:00:21 +0000 (23:00 -0500)]
Merge branch 'master' of github.com:nwf/dyna

13 years agoInsignificant changes to NormalizeParse renamed temporary variable names)
timv [Thu, 29 Nov 2012 03:19:11 +0000 (22:19 -0500)]
Insignificant changes to NormalizeParse renamed temporary variable names)

Added Makefile (might not really want this...)

13 years agoGit should not ignore .hs files
Nathaniel Wesley Filardo [Sun, 25 Nov 2012 22:07:44 +0000 (17:07 -0500)]
Git should not ignore .hs files

13 years agoTweaks to XXX.THTuple
Nathaniel Wesley Filardo [Sun, 25 Nov 2012 22:07:27 +0000 (17:07 -0500)]
Tweaks to XXX.THTuple

13 years agoEliminate redundant class from HList module
Nathaniel Wesley Filardo [Tue, 20 Nov 2012 03:56:00 +0000 (22:56 -0500)]
Eliminate redundant class from HList module

13 years agoMinor parser nits
Nathaniel Wesley Filardo [Fri, 16 Nov 2012 05:46:30 +0000 (00:46 -0500)]
Minor parser nits

13 years agoMerge
Nathaniel Wesley Filardo [Thu, 15 Nov 2012 03:36:40 +0000 (22:36 -0500)]
Merge

13 years agoMake ParserHS more intelligent about spaces and comments
Nathaniel Wesley Filardo [Thu, 15 Nov 2012 03:35:16 +0000 (22:35 -0500)]
Make ParserHS more intelligent about spaces and comments

13 years agoModified default argument disposition (i.e. how operator/functors perfer to
timv [Thu, 15 Nov 2012 00:33:23 +0000 (19:33 -0500)]
Modified default argument disposition (i.e. how operator/functors perfer to
evaluate their arguments). Now we have (b) operators begining with an alphabetic
character do not evaluate (b) a table of exceptions to for logical and
arithmetic connectives (e.g. exp, not).

Parser now allows wider range of names for aggregators, including "max=".

13 years agoAdd a 'Fact' test case to the parser selftest
Nathaniel Wesley Filardo [Wed, 14 Nov 2012 04:25:21 +0000 (23:25 -0500)]
Add a 'Fact' test case to the parser selftest

While here, silence a warning from Dyna.XXX.TrifectaTest

13 years agoBegin transcoding Overton's thesis
Nathaniel Wesley Filardo [Wed, 14 Nov 2012 04:23:29 +0000 (23:23 -0500)]
Begin transcoding Overton's thesis

13 years agoMove from home-grown Proxy to 'tagged' package
Nathaniel Wesley Filardo [Mon, 12 Nov 2012 16:06:52 +0000 (11:06 -0500)]
Move from home-grown Proxy to 'tagged' package

13 years agoekmett externals updated
Nathaniel Wesley Filardo [Fri, 9 Nov 2012 17:42:55 +0000 (12:42 -0500)]
ekmett externals updated

13 years agoFix build: remove stale constraint
Nathaniel Wesley Filardo [Fri, 9 Nov 2012 16:04:35 +0000 (11:04 -0500)]
Fix build: remove stale constraint

13 years agoFix build: check in TTerm.hs
Nathaniel Wesley Filardo [Fri, 9 Nov 2012 16:01:38 +0000 (11:01 -0500)]
Fix build: check in TTerm.hs

13 years agoSome frontend work
Nathaniel Wesley Filardo [Thu, 8 Nov 2012 23:56:08 +0000 (18:56 -0500)]
Some frontend work

Add a special arm to the parser for numerics, and preserve this into the
next representation.  This is not perfect, it is just a start.

A better first pass at Dyna.Analysis.NormalizeParse.  (Though despite the
existence of a Selftest module, there are actually no tests present yet.)

While here, do some refactoring; hopefully things are better than before.

13 years agoUpdate external/ to point to forks which will hopefully be integrated upstream
Nathaniel Wesley Filardo [Thu, 8 Nov 2012 23:38:49 +0000 (18:38 -0500)]
Update external/ to point to forks which will hopefully be integrated upstream

13 years agoAdd DAMSL K3 as an external repository
Nathaniel Wesley Filardo [Mon, 5 Nov 2012 21:49:05 +0000 (16:49 -0500)]
Add DAMSL K3 as an external repository