Ivan Denisov 7f3cc8ea80 update example for encoding subsystems 9 年之前
..
Std 7f3cc8ea80 update example for encoding subsystems 9 年之前
System 7f3cc8ea80 update example for encoding subsystems 9 年之前
Coder-List.odc 7f3cc8ea80 update example for encoding subsystems 9 年之前
README 7f3cc8ea80 update example for encoding subsystems 9 年之前
runc 736a822faa example of the app used for compressing of susystems in the server gitlab.molpit.com 9 年之前

README

Application for web-service which edcode BlackBox subsystems.
Used by http://gitlab.molpit.org for processing of repository hooks.

Author: Ivan Denisov, denisov@molpit.org

Installation for Linux

1. Prepare Interp version of BlackBox in "Linux_Interp" folder:
./switch-target `uname -s` Interp
./build
./export ../Linux_Interp

2. Compile this example:
cd ../examples/encoder
echo "DevCompiler.CompileThis StdCoder Init" | ./runc

3. For demonstration run:
ENCODE_LIST_NAME='Coder-List.odc' ENCODE_LIST_PATH='' ./runc

Output will contain two files encoded by StdCoder: 'Std/Mod/Coder.odc' and 'System/Mod/Init.odc'.