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

finite state machines in scheme

Name: Anonymous 2013-03-01 3:25

yea. anyone got sum kool examplez?

Name: Anonymous 2013-03-03 23:55

>>> parse("2 + 2")
['eval_input', ['testlist', ['test', ['and_test', ['not_test', ['comparison',
 ['expr', ['xor_expr', ['and_expr', ['shift_expr', ['arith_expr', ['term',
  ['factor', ['power', ['atom', [2, '2']]]]], [14, '+'], ['term', ['factor',
   ['power', ['atom', [2, '2']]]]]]]]]]]]]]], [4, ''], [0, '']]

Is… this as ugly as it looks?

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