[!IMPORTANT] The primary repository has moved to git.rosseaux.net/BeRo1985/poca. This GitHub repository is kept up-to-date via push mirroring.
Yet another scripting language that is still in the design phase - for example, its syntax and built-in standard library are not finalized yet.
You can also find many short examples of language features and various POCA idioms in the examples directory.
To build POCA the following dependencies are required:
Either Delphi >= 7 or FreePascal >= 3.0 is required to build POCA.
Here's how to clone the repo and build POCA using the FreePascal compiler:
# clone
git clone https://github.com/BeRo1985/poca.git
cd poca
# clone dependencies
git submodule init
git submodule update --remote --recursive
# build POCA directly using fpc
fpc -B -O3 -g -gl pocarun.dpr
# or build POCA using Lazarus (adapt the paths to your fpc and lazarus paths)
~/fpcupdeluxe/lazarus/lazbuild --pcp="${HOME}/fpcupdeluxe/config_lazarus" --os=linux -B src/pocarun.lpi
# run a script (ctrl-c to abort)
bin/poca examples/donut.poca
# run POCA's REPL (ctrl-c or ctrl-d to exit)
bin/poca
Zlib-licensed as per LICENSE file.
Pascal
98.0%
JavaScript
1.9%
[!IMPORTANT] The primary repository has moved to git.rosseaux.net/BeRo1985/poca. This GitHub repository is kept up-to-date via push mirroring.
Yet another scripting language that is still in the design phase - for example, its syntax and built-in standard library are not finalized yet.
You can also find many short examples of language features and various POCA idioms in the examples directory.
To build POCA the following dependencies are required:
Either Delphi >= 7 or FreePascal >= 3.0 is required to build POCA.
Here's how to clone the repo and build POCA using the FreePascal compiler:
# clone
git clone https://github.com/BeRo1985/poca.git
cd poca
# clone dependencies
git submodule init
git submodule update --remote --recursive
# build POCA directly using fpc
fpc -B -O3 -g -gl pocarun.dpr
# or build POCA using Lazarus (adapt the paths to your fpc and lazarus paths)
~/fpcupdeluxe/lazarus/lazbuild --pcp="${HOME}/fpcupdeluxe/config_lazarus" --os=linux -B src/pocarun.lpi
# run a script (ctrl-c to abort)
bin/poca examples/donut.poca
# run POCA's REPL (ctrl-c or ctrl-d to exit)
bin/poca
Zlib-licensed as per LICENSE file.
Pascal
98.0%
JavaScript
1.9%