[Gems-users] Compiling SLICC files


Date: Thu, 27 Jan 2011 17:10:08 -0800
From: Megan Wachs <wachs@xxxxxxxxxxxx>
Subject: [Gems-users] Compiling SLICC files
Hello, 

 I am new to GEMS and am interested in using the SLICC language for another project. I was trying to just compile the state machine files (into HTML if nothing else). What is the command for compiling them, or do I need to do it as part of a larger process? I have tried:

>>>/gems-2.1.1/slicc/x86-linux/bin$ ./slicc.exec ./code ./html "Megan's First Protocol" html ../../../protocols/MI_example.slicc
SLICC v0.3
Parsing...
  ../../../protocols/MI_example.slicc
../../../protocols/MI_example.slicc:1: syntax error, unexpected DOT, expecting $end at .

and also

>>>/gems-2.1.1/slicc/x86-linux/bin$  ./slicc.exec ./code ./html "Megan's First Protocol" html ../../../protocols/MI_example-cache.sm 
SLICC v0.3
Parsing...
  ../../../protocols/MI_example-cache.sm
Generator pass 1...
Generator pass 2...

../../../protocols/MI_example-cache.sm:5: Error: Type 'MessageBuffer' not declared.

Thanks for any advice!

Megan
[← Prev in Thread] Current Thread [Next in Thread→]
  • [Gems-users] Compiling SLICC files, Megan Wachs <=