Commit Graph

10 Commits

Author SHA1 Message Date
Robby Findler
058504afbd adjust datalog so that syntax objects are not used as source location
information representation.

This should make datalog work better with compiled files and it
should also avoid an O(n^2) problem in the way it expands
2012-06-02 08:04:45 -05:00
Robby Findler
bf95ee1052 Adjust datalog to cooperate with check syntax a little bit more.
Specifically:
 - make predicate symbols and variables be original (and,
   in the former case, have srclocs)
 - remove the originality in the quoted syntax constants
   that the expansion introduces

I think there is probably something better that should be done
with those introduced syntax constants, possibly relacing
them with #f, or possibly replacing them with source location
lists, but I'm not sure how they are used, so I've just left
them in there.

(Also, very minor Rackety in check syntax)
2012-06-01 04:55:04 -05:00
Jay McCarthy
89ce37d90c Broke one 2011-08-15 10:06:22 -06:00
Jay McCarthy
cd92964eef Converting away from racket to racket/base 2011-08-15 10:06:21 -06:00
Jay McCarthy
13ff06aee5 Fixing example from Naurin Zamir 2011-06-28 08:41:38 -06:00
Jay McCarthy
c24d6f94e7 Supporting empty programs in datalog languages, fixes pr11140 2010-08-28 15:54:38 -06:00
Jay McCarthy
77b6709da1 Adding fake lambdas to get arrows on clauses. 2010-07-20 13:59:38 -06:00
Jay McCarthy
06844073c7 Switch to using substitutions in returns and remove old parts of the interface 2010-06-30 10:54:13 -06:00
Jay McCarthy
a6852d8f61 Adding FFI to Datalog 2010-06-29 11:09:07 -06:00
Jay McCarthy
da7d4d4042 Adding datalog macro 2010-06-28 13:22:53 -06:00