A complete parser & interpreter for Glossa(Γλώσσα), the programming language taught in the final year of Greek high school and included in the examinations for entrance to Greek universities.
This project also provides a CLI and a web interface to the interpreter(cli and webapp modules respectively).
The programming language was created by the AEPP book authors and inspired by Pascal and BASIC. All the commands are written in Greek and it does not have support for Object-oriented programming.
There are demo programs for Glossa(including translation to English) here
The web application is hosted on gloglossa.gr
All the modules are published on npm under the glossa-glo
organization. To install the cli run:
npm install --global @glossa-glo/cli
or, using Yarn:
yarn global add @glossa-glo/cli
Then, run
glossa filename
The code is structured as a monorepo, using Lerna. The following commands build all the packages and link them together:
yarn # Installs dependencies on the root package
yarn run bootstrap # Runs local lerna bootstrap
In order to run the CLI locally, execute the following command from the root directory:
./modules/cli/bin/run filename
To run the web app local development server:
cd ./modules/webapp
yarn run dev
The project currently does not accept any pull requests. Please email me if you are interested in contributing.
MIT License