Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Browser? C*dder? Where?

Name: Anonymous 2022-09-14 11:53

Name: Anonymous 2022-09-16 5:22

>>7
Can you post how you would implement a simple parser tokenizer in a cudder-approved way? Preferably in C.
Consider a simple grammar like this:

token: op
| '"' str
| widestr

maybe_cmp:
| '='

op: '<' maybe_cmp
| '>' maybe_cmp
| '=' maybe_cmp
| '!' maybe_cmp

str: '"'
| '\' chr str
| chr str

widestr := 'L' '"' str

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List