Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Duncan White
C-datadec
Commits
4ec2c28c
Commit
4ec2c28c
authored
Nov 24, 1989
by
dcw
Browse files
added printing formats.
parent
b4bbfc36
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/cdata.in
View file @
4ec2c28c
intlist = null | cons( int first, intlist next );
illist = null | cons( intlist first, illist next );
idtree =
null | leaf( char * id ) | node( idtree left, idtree right );
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 "'"
| node( idtree left, idtree right ) "( " 1 " , " 2 " )";
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment