Trying to compile a program
Posted: Thu May 05, 2011 9:30 am
Hi, I am very new in lisp.
I really need help.
How can I can execute this: clisp sme_RuleCompiler.lisp < keywords.in
sme_RuleCompiler.lisp is my file and keywords.in is another file to use with sme_RuleCompiler.lisp
as explain here:
--------------------------------------------------------------------------------
Getting Started
--------------------------------------------------------------------------------
While the source code provided should work with any ANSI Common Lisp compatible
compiler/interpreter, for the sake of simplicity, it is assumed the user is
using clisp.
The compiler can accept rules in a number of representations. Examples located
at the bottom of the source code demonstrate multiple methods for inputting
keywords.
To run the compiler over a set of keywords located in a file, the user should
redirect input from a file as follows:
% clisp sme_RuleCompiler.lisp < keywords.in
Where "keywords.in" is the name of an ASCII text file. Each line of the file
represents a keyword to be matched. Every character on the line must be
preceded with a colon (":"). If it is necessary to represent an 8-bit byte
sequence that is not specified by a printable character, a colon can be
followed by two hexadecimal digits in place of a single character.
I really need help.
How can I can execute this: clisp sme_RuleCompiler.lisp < keywords.in
sme_RuleCompiler.lisp is my file and keywords.in is another file to use with sme_RuleCompiler.lisp
as explain here:
--------------------------------------------------------------------------------
Getting Started
--------------------------------------------------------------------------------
While the source code provided should work with any ANSI Common Lisp compatible
compiler/interpreter, for the sake of simplicity, it is assumed the user is
using clisp.
The compiler can accept rules in a number of representations. Examples located
at the bottom of the source code demonstrate multiple methods for inputting
keywords.
To run the compiler over a set of keywords located in a file, the user should
redirect input from a file as follows:
% clisp sme_RuleCompiler.lisp < keywords.in
Where "keywords.in" is the name of an ASCII text file. Each line of the file
represents a keyword to be matched. Every character on the line must be
preceded with a colon (":"). If it is necessary to represent an 8-bit byte
sequence that is not specified by a printable character, a colon can be
followed by two hexadecimal digits in place of a single character.