Skip to content
This repository was archived by the owner on Sep 24, 2022. It is now read-only.

All about C Transpiler

Satakun Utama edited this page Jun 14, 2021 · 4 revisions

What is Transpiler

Transpiler is a Tool to transform the code in a language into another language.

StoryScript C Transpiler

StoryScript C Transpiler is a tool to transform StoryScript code into C language.

How to get it

To get SSCT, You need to download the Main branch. And it'll be in the "ToC" folder.

How to use it

To use it, simply run a command (In the StoryScript/ToC folder) with this pattern:

python processor.py -i [input] -o [output]

And yes, This is named arguments, So you can do python processor.py -o [output] -i [input] as well.

And you can also do this pattern:

python processor.py --input [input] --output [output]

Flags

Full version Short version Description
--input -i The input file you wanted.
--output -o The output file you wanted.
--no-auto-reallocate -no-realloc Disable auto String memory re-allocation.

Major Changes

Breaking changes

These Changes will break some codes.

  • No dynamics (yet)

Extra changes

These changes will add extra features that the Original REPL version doesn't have.

  • The variable that wants to be allocated on Heap allocation needed the heap keyword. Otherwise will be a normal Stack allocation.
int heap a
Clone this wiki locally