]> hydra-www.ietfng.org Git - dyna2/log
dyna2
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 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

13 years agoExplain how to build the tree; revise .cabal
Nathaniel Wesley Filardo [Fri, 2 Nov 2012 17:56:06 +0000 (13:56 -0400)]
Explain how to build the tree; revise .cabal

13 years agoBegin tracking trifecta as a git submodule
Nathaniel Wesley Filardo [Fri, 2 Nov 2012 17:45:57 +0000 (13:45 -0400)]
Begin tracking trifecta as a git submodule

13 years agoFirst pass at K3 Stdlib from experiments
Nathaniel Wesley Filardo [Tue, 30 Oct 2012 06:32:19 +0000 (02:32 -0400)]
First pass at K3 Stdlib from experiments

13 years agoMinor documentation cleanup in ParserHS
Nathaniel Wesley Filardo [Tue, 30 Oct 2012 06:31:32 +0000 (02:31 -0400)]
Minor documentation cleanup in ParserHS

13 years agoScattered progress on K3 backend
Nathaniel Wesley Filardo [Tue, 30 Oct 2012 06:31:14 +0000 (02:31 -0400)]
Scattered progress on K3 backend

13 years agoImprovements to HList utility library
Nathaniel Wesley Filardo [Tue, 30 Oct 2012 06:27:39 +0000 (02:27 -0400)]
Improvements to HList utility library

13 years agoAdd bracketState
Nathaniel Wesley Filardo [Tue, 30 Oct 2012 06:27:10 +0000 (02:27 -0400)]
Add bracketState

13 years agoA whole host of changes
Nathaniel Wesley Filardo [Tue, 23 Oct 2012 21:17:23 +0000 (17:17 -0400)]
A whole host of changes

Inspired by several days of hacking on the CKY example and thinking about
how we're going to actually produce those ASTs.
> Factors out HLists and pushes their utility through BackendK3.
> Adds export annotations to BackendK3.AST and .Render
> More documentation across the board

13 years agoBackendK3: Eliminate Slices as distinct objects from Patterns
Nathaniel Wesley Filardo [Thu, 18 Oct 2012 08:09:14 +0000 (04:09 -0400)]
BackendK3: Eliminate Slices as distinct objects from Patterns

13 years agoBackendK3: Minor tweaks, more math
Nathaniel Wesley Filardo [Thu, 18 Oct 2012 07:42:49 +0000 (03:42 -0400)]
BackendK3: Minor tweaks, more math

13 years agoRemove PTup and STup verbosity from BackendK3
Nathaniel Wesley Filardo [Wed, 17 Oct 2012 21:04:00 +0000 (17:04 -0400)]
Remove PTup and STup verbosity from BackendK3

13 years agoFix K3 backend selftest to deal with formatting
Nathaniel Wesley Filardo [Wed, 17 Oct 2012 20:43:34 +0000 (16:43 -0400)]
Fix K3 backend selftest to deal with formatting

13 years agoK3: CTE, Ref now data families; new Annotation framework; misc small fixes
Nathaniel Wesley Filardo [Tue, 16 Oct 2012 18:19:29 +0000 (14:19 -0400)]
K3: CTE, Ref now data families; new Annotation framework; misc small fixes

13 years agoFix haddock build, improve documentation, small misc
Nathaniel Wesley Filardo [Tue, 16 Oct 2012 17:35:14 +0000 (13:35 -0400)]
Fix haddock build, improve documentation, small misc

13 years agoFix cabal build, shuffle backend goo, more tests
Nathaniel Wesley Filardo [Tue, 9 Oct 2012 06:46:30 +0000 (02:46 -0400)]
Fix cabal build, shuffle backend goo, more tests

13 years agoMake Dyna parser understand type annotations
Nathaniel Wesley Filardo [Sat, 6 Oct 2012 00:40:11 +0000 (20:40 -0400)]
Make Dyna parser understand type annotations

13 years agoEliminate explicit tuple size from pattern and slice constructors
Nathaniel Wesley Filardo [Fri, 5 Oct 2012 23:22:02 +0000 (19:22 -0400)]
Eliminate explicit tuple size from pattern and slice constructors

13 years agoMove REPL to Haskeline from editline
Nathaniel Wesley Filardo [Wed, 3 Oct 2012 19:01:20 +0000 (15:01 -0400)]
Move REPL to Haskeline from editline

13 years agoCommit some incremental progress on the K3 AST
Nathaniel Wesley Filardo [Tue, 2 Oct 2012 05:22:15 +0000 (01:22 -0400)]
Commit some incremental progress on the K3 AST

This snapshots some crude attempts at getting generic tuples
into the K3 AST.  At the moment it isn't working (for somewhat
annoying reasons involving universal quantification, I think)
and the AST is wired up to have tuples 2-4 (though more are
a simple matter of copy-paste-modify in a few places); some bits
are automated, but many aren't.

13 years agoSnapshotting before I try to replace pairs with tuples
Nathaniel Wesley Filardo [Wed, 26 Sep 2012 07:22:23 +0000 (03:22 -0400)]
Snapshotting before I try to replace pairs with tuples

13 years agoAdd LICENSE.INFO for dependencies
Nathaniel Wesley Filardo [Sat, 22 Sep 2012 03:12:16 +0000 (23:12 -0400)]
Add LICENSE.INFO for dependencies

13 years agoSome initial progress towards a K3 backend: AST, renderer, and examples
Nathaniel Wesley Filardo [Sat, 22 Sep 2012 03:11:45 +0000 (23:11 -0400)]
Some initial progress towards a K3 backend: AST, renderer, and examples

13 years agoREPL and parser improvements
Nathaniel Wesley Filardo [Sat, 22 Sep 2012 03:10:21 +0000 (23:10 -0400)]
REPL and parser improvements

13 years agoInitial REPL
Nathaniel Wesley Filardo [Sat, 15 Sep 2012 18:01:13 +0000 (14:01 -0400)]
Initial REPL

13 years agoAdd more to README
Nathaniel Wesley Filardo [Thu, 9 Aug 2012 14:50:08 +0000 (10:50 -0400)]
Add more to README

13 years agoAn initial checkin of a parser and some ANF stuff
Nathaniel Wesley Filardo [Thu, 9 Aug 2012 14:45:46 +0000 (10:45 -0400)]
An initial checkin of a parser and some ANF stuff