PADLang

Yet another language written in Python.
Contains
Basic parser for converting tokens into AST (Abstract syntax tree).
Interpreter. Handles the flow of instructions in AST.
Contains basic types: Integer, Real, String.
Class support, inheritance.
List and dictionary support.
Scope module imports, global program imports.
Class member call support, which supports local and Python object members. (ie. you can call append on your list, but also call member of class declared locally.)
Scoping, ie. scope can have its own local variables and still access those declared in outer scope.
Methods with their own scope. They clone program’s main scope rules, therefore they support nested methods.
Conditional statements
Case switch
Basic variable existence checks when using variables.
Variable references (ex. you can pass variable reference to a procedure, which can then modify it.)
How to use
Either clone the repo or pip install padlang, see samples for an example of how to use the package.
Copyright
PADLang is licensed under the Apache 2 License, see LICENSE for more information.
Metadata
Release files for padlang 1.0.21
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| padlang-1.0.21.zip | 31.7 kB | Details |
Release files / padlang-1.0.21.zip
| Download URL | padlang-1.0.21.zip |
|---|---|
| Size | 31.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df177bf41764a21610d812fbe7315bb97375a1547923cf3686c815e69a9cc22f
|
|
BLAKE2b-256 checksum How to use checksums |
10481ded3b01ced776406b59c5ac704108c85db45731450761129ce0d8c16ab0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |