[abc-users] grammar help

From: Amjad Nusayr <anusayr_at_cs.nmsu.edu>
Date: Wed, 18 Mar 2009 03:11:22 -0600

Hello
I want to extend the grammar in abc to something very simple. I want to
introduce a new PC that takes a parameter as an decimal integer literal.
Something like NewPC(1000). I dont want an identifier nor an expression
, just a simple INT literal.
I'm looking at the java12.cup file and found an INTEGER_LITERAL, will
that help, if so, how should I use it?

Thanks
Amjad
Received on Wed Mar 18 2009 - 09:11:33 GMT

This archive was generated by hypermail 2.2.0 : Wed Mar 18 2009 - 13:00:12 GMT