Commit 2b3b9c04 authored by POTTIER Francois's avatar POTTIER Francois

New module [SelectiveExpansion].

parent 6bad6a1f
This diff is collapsed.
open Syntax
open SortInference
(* [expand sorts g] expands away some or all of the parameterized
nonterminal symbols in the grammar [g], producing a new grammar.
[sorts] is the sort environment produced by [SortInference]. *)
(* At this time, expansion is complete: all parameters are expanded
away. *)
val expand: sorts -> grammar -> grammar
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment