Index of /~tyson/gpl/src/p1

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory   -  
[   ]Makefile 26-Jan-2012 09:43 2.2K 
[TXT]error.cpp 17-Nov-2011 13:24 1.7K 
[TXT]error.h 17-Nov-2011 13:24 2.2K 
[   ]expr.l 17-Nov-2011 13:24 2.5K 
[   ]expr.y 13-Apr-2012 16:31 3.2K 
[TXT]gpl_assert.cpp 17-Nov-2011 13:24 359  
[TXT]gpl_assert.h 17-Nov-2011 13:24 602  
[   ]grammar 17-Nov-2011 13:24 151  
[   ]p1_src.tar 13-Apr-2012 16:32 30K 
[TXT]parser.cpp 17-Nov-2011 13:24 1.6K 
[TXT]parser.h 17-Nov-2011 13:24 735  

CSCI 515
Program 1

Steps to getting this to work
1) copy all these files to your machine
2) edit the Makefile so it is configured for your machine (Linus, cygwin, OSX)
3) type:  $ make make
4) type:  $ make

NOTE: you will get lots of errors for library files on step (3)
  if step (3) failed to find makedepend, install makedepend
  if step (4) failed, Check the software installation page:

	~../../docs/software_installation.html

You can experiment with the parser in two ways:

1) put the expression in a filename, and run the parser

	$ parser filename

2) run the parser and type in the expression

	$ parser <return>
	....
	5 + 4 - 3<return>
	^D


    Note:  in the UNIX/Linux world ^D (control-D) signals end of file (EOF).