DEADSOFTWARE

852c2b5f5c80f3d6b4620fc72f64a4bae0c8427a
[bbcp.git] / examples / console / README
1 Example to demonstrate ConsCompiler and ConsLog.
3 ConsCompiler allows to compile sources stored in "txt" format.
4 ConsLog provides realisation for the Log abstract interface.
6 Author of the example: Ivan Denisov, denisov@molpit.org
8 Installation and demonstration
10 1. Prepare Interp version of BlackBox in "Linux_Interp" folder:
11 ./switch-target `uname -s` Interp
12 ./build
13 ./export ../Linux_Interp
15 2. Compile this example:
16 cd ../examples/console
17 echo "ConsCompiler.Compile('System/Mod', 'Init.txt')" | ./runc
19 3. For demonstration run:
20 ./runc 123 123
22 Output will contain: "Summ: 246.0".