language and parsing
This folder contains an implementation of an interpreter for a script language . This language is designed for parsing and transforming plain text.
This code is still in a testing phase. Actually the push and pop commands have some fatal bugs which need to be fixed before it can be used usefully. The application will be renamed from 'chomski' to 'pp' and for this reason some of the documents may not be accurate.
Detailed documentation for the language and interpreter is available at http://bumble.sf.net/pp/doc/
on a windows computer
echo abcdef | pp -s "put;plus;count;get;print;"To see other options for the interpreter, type
chmod a+x chomskiIn a console window, type, for example
echo abcdef | ./chomski -s "put;plus;count;get;print;"
-On an x86 computer-
\tcc\tcc -I\tcc\include -L\tcc\lib chomski.c
-On a non-x86 computer-
For detailed documentation of the script language, virtual machine and concepts see the /machine/doc/ directory.
Debugging needs to be carried out.
Other implementations in C++ and Java are available in the /pp/cpp/ and file:/pp/java/ folders respectively but those implementations are less complete than the C implementation.