Skip to content

Make a function to expand a predicate macro (for debugging) #27

Closed
sritchie opened this Issue Dec 6, 2011 · 3 comments

1 participant

@sritchie
Collaborator
sritchie commented Dec 6, 2011

The title says it all.

@sritchie
Collaborator
@sritchie
Collaborator
sritchie commented Mar 8, 2012

A custom printer for Cascalog queries would be extremely powerful. Expanding predicate macros is interesting; more interesting is a printer that names the type of each predicate in a query (filter, aggregator, etc).

@sritchie
Collaborator
sritchie commented Aug 2, 2013

This should be really easy now -- in cascalog.logic.parse/parse-subquery, the return of build-query (before it's passed in to build-rule will print out all expanded operations and predicate macros.

@sritchie sritchie closed this Feb 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.