Small demo how to make console interpreter and compiler for Component Pascal on the base of BlackBox Component Builder.
http://youtu.be/3zFBDRwUxdE
Author of this solution is Alexander Shiryaev.
Making console version of BlackBox in Windows
- Ivan Denisov
- Posts: 362
- Joined: Tue Sep 17, 2013 12:21 am
- Location: Krasnoyarsk, Russia
Re: Making console version of BlackBox in Windows
On basis on "BlackBox Freenix" project I have built a more simple solution for running from console and easy for set-up. It's called BlackBox-cli and available from https://github.com/romiras/BlackBox-cli/releasesIvan Denisov wrote:Small demo how to make console interpreter and compiler for Component Pascal on the base of BlackBox Component Builder.
http://youtu.be/3zFBDRwUxdE
Author of this solution is Alexander Shiryaev.
Commands can be interpreted and executed at run time similar to BlackBox Freenix.
One of distinctions is that DevCompiler is able to compile plain CP files too (encoded in UTF-8) in addition to ODC. For this purpose StdPlainDoc serves as helper module dynamically registering UTF-8 converter.
Code: Select all
echo "PrivHello.SayHello" | ./bbcli.exe
Code: Select all
Running as command interpreter. Waiting for input from stdin...
Hello from PrivHello!