https://github.com/gwydd12/lwgpp
LOOP, WHILE and GOTO interpreter built in C++.
https://github.com/gwydd12/lwgpp
aarhus-universitet aarhus-university cpp cpp11 goto interpreter loop while
Last synced: 3 days ago
JSON representation
LOOP, WHILE and GOTO interpreter built in C++.
- Host: GitHub
- URL: https://github.com/gwydd12/lwgpp
- Owner: gwydd12
- Created: 2025-10-02T08:44:30.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2026-06-15T15:21:26.000Z (22 days ago)
- Last Synced: 2026-06-15T17:15:48.054Z (22 days ago)
- Topics: aarhus-universitet, aarhus-university, cpp, cpp11, goto, interpreter, loop, while
- Language: C++
- Homepage:
- Size: 214 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lwgpp
An interpreter for [LOOP, WHILE and GOTO](https://en.wikipedia.org/wiki/LOOP_(programming_language)) written in C++.
> *Please note that the project was conducted in a group. See the contributor list for more information.*
## Description
Developed for the [SWAPK (Advanced programming concepts)]([https://kursuskatalog.au.dk/en/course/134686/SWAFP-01-Applied-Functional-Programming](https://studerende.au.dk/studier/fagportaler/ece/uddannelser/diplomingenioer/valgfag/valgfag-kun-efteraar/swapk-avancerede-programmeringskoncepter/)) course at Aarhus University.
*There are some bigger known bugs in the code, nevertheless the interpreter does its honest work*
## Concepts
* Fundamentals
* Templates
* Namespaces
* STL Containers
* STL Algorithms
* Exceptions
* C++11++
* Concepts
* Meta programming
* Boost Lib
*Please refer to a more concise list of concepts in the `docs/` folder.*
The goal of the project is to implement 75% of the course concepts into a project, like lwgpp, and present the project in an oral exam.
## How to use
Currently, the program is more thought of as a library, therefore it should not be ran as a cli. However, feel free to modify it or send a PR.
```bash
$ git clone git@github.com:gwydd12/lwgpp.git
$ cd lwgpp/
$ cmake -S . -B build
$ cmake --build build/
$ cd build/
$ ./lwgpp
```
## Support
In case you have any questions, please feel free to reach out to me via email or create an issue in this repository.
Additionally, if you are interested in taking SWAPK
feel free to reach out to me for more information about the course and the exam I might remember some parts of it or refer to the
docs folder
## Acknowledgments
* Søren Hansen for teaching the course at the Aarhus University
* [cppreference](https://en.cppreference.com/w/)
* [Microsoft C++ language reference](https://fsharpforfunandprofit.com)