https://github.com/pascalcorpsman/loop
Loop interpreter
https://github.com/pascalcorpsman/loop
freepascal informatics interpreter loop turing-machine-simulator
Last synced: 26 days ago
JSON representation
Loop interpreter
- Host: GitHub
- URL: https://github.com/pascalcorpsman/loop
- Owner: PascalCorpsman
- License: other
- Created: 2025-12-11T15:54:28.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-12-20T09:23:06.000Z (about 2 months ago)
- Last Synced: 2025-12-21T03:47:20.399Z (about 2 months ago)
- Topics: freepascal, informatics, interpreter, loop, turing-machine-simulator
- Language: Pascal
- Homepage:
- Size: 399 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: license.md
Awesome Lists containing this project
README
# Loop
Loop is a fully usable interpreter for the Loop language (Loop on [wikipedia](https://en.wikipedia.org/wiki/LOOP_(programming_language))). As this interpreter uses a bit "more" than defined by Loop its recommended to also read the [manual](Manual.md).

As a student of Computer Science at the University of Stuttgart, I developed this loop interpreter for Windows in Delphi 5 as a semester project in 2006.
In this repository, I am working to revive the “old” code using Lazarus, to make it platform-independent and make it usable for more students who want to test their Loop applications ;).
The Interpreter features:
- Multiple color chemes
- Code formator
- Optional Language enhancements:
- ^- modified substraction
- \* multiplication
- "complex" arithmetics like x0 := (x1 + x2) * x3
- If Then Else
- Integer to boolean operands like >, <, >=, <=, <>
- Mod, modulo operator
- Div, integer division
- functions
- other variable names than x*
- implicit variable initialization with 0
- Breakpoints and a step by step debugger
- Whatched variables
- Lots of samples