Skip to content
/ TEPL Public template

TEPL is a new programming language in development by me(TENTHER101). PLY is the tool that is being used to build this programming language. I hope to have built many of the basics by early 2025. Go to https://tepl.vercel.app/about for more information!

License

Notifications You must be signed in to change notification settings

TEPL-Team/TEPL

Repository files navigation

TEPL - Textual Educational Programming Language

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.

Features:

  • Basic arithmetic calculations (Completed)
  • Variable support (Completed)
  • Basic logic operators (Completed)
  • Implementation of booleans (Completed)
  • Math operators and functions (e.g., sin, cos, tan) (TODO)
  • If statements (Nearly Complete)
  • Input statements (Completed)
  • List support (TODO)
  • For loops (TODO)
  • While loops (TODO)
  • Functions (TODO)

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.

Version History:

For the license information, check here.

Code Showcases:

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

About

TEPL is a new programming language in development by me(TENTHER101). PLY is the tool that is being used to build this programming language. I hope to have built many of the basics by early 2025. Go to https://tepl.vercel.app/about for more information!

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project