Skip to content
Snippets Groups Projects
Commit 5ff61110 authored by dcw's avatar dcw
Browse files

enhanced version that tests all the optimizations.

(the .c generated prior to optimization contains
a zero-sized union though, which is wrong)
parent 97a5b852
No related branches found
No related tags found
No related merge requests found
n = a | b | c | d | e;
o = a( int aa );
p = a | b;
q = a | b | c(int cc) | d | e;
r = a | b | c(int cc) | d( string dd) | e;
s = a(int aa) | b | c | d | e;
intlist = null "null" | cons( int first, intlist next ) 1 " , " 2;
illist = null "null" | cons( intlist first, illist next ) "[ " 1 " ] , " 2;
idtree = leaf( string id ) "leaf '" 1 "'"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment