Made a Programing language using python

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/Python

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • JetBrains - Developer Ecosystem Survey 2022
  • Scout APM - Less time debugging, more time building
  • cupscript

    CupScript is a simple scripting language made using python

    Lexer or also called a tokenizer is basically the first step of all of it. A lexer class takes in the text/user input (also filename for context to throw errors in my case) and goes through every single character and checks if any of it matches with the character I pass in if statements, if it does then if it is a '+' for example it will append a new token to a list (mine is called tokens) using the Token class you can check that out too a token class takes a Token type and a value so the type is PLUS here and the value is '+' all my types are stored in consts.py and then the tokens get passed to the parser

  • Lark

    Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.

    There's also lark, which is used by a plethora of projects (I haven't used it, but I heard about PreQL on a podcast where they talk for a bit about what it's like to develop a new language in lark)

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • Preql

    An interpreted relational query language that compiles to SQL.

    There's also lark, which is used by a plethora of projects (I haven't used it, but I heard about PreQL on a podcast where they talk for a bit about what it's like to develop a new language in lark)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts