TEPL
v2.0.0
TEPL is a simple educational programming language aimed at beginners to learn basic programming concepts. It provides a user-friendly interface for practicing programming. TEPL supports basic arithmetic calculations, variable support, logic operators, booleans, math operators if statements and input statements.
For more information and documentation, visit TEPL Docs.
Lexer can be found in the src/lexer.py file.
AST nodes can be found in the src/nodes.py file.
Parser can be found in the src/parser.py file.
Transpiler can be found in the src/transpiler.py file.
For the license information, check here.
Number guesser game.
PC this is a comment, and this is an example of a basic number guessing game CP
forever do
set guess to 'Enter a number from 0 to 100: ' expecting input and num
set secret to random num from 0 to 100
if guess > 100 OR guess < 0 then
output $"Error: You inputed a number that is less than or greater than 0 or 100, it was $guess!"
elseif guess > secret OR guess < secret then
output $"Wrong guess! The secret number was...$secret!"
else then
output $"You got it right! The secret number was $secret!"
end
pause 1
exit
end