VlaamsCodex - Multi-Vlaams Editie 🇧🇪
't Es simpel, 't es plansen, 't es Vlaams!
A transpiler toolchain for Platskript (.plats), a programming language that uses Flemish dialect keywords. VlaamsCodex compiles Platskript source code to Python and executes it.
NEW in v0.2.5: Browser playground + fixed website examples + improved compiler support (als/zolang, safer plakt).
Quick Start
# Install
pip install vlaamscodex
# Run your first program
plats run examples/hello.plats
# Or use magic mode - run .plats directly with Python!
python examples/hello.plats
Output:
gdag aan weeireld
Multi-Vlaams Dialect Commands 🇧🇪
Every command works in 7 Flemish dialects! Use whichever feels most natural:
Run a Program
| Dialect | Command | Meaning |
|---|---|---|
| English | plats run script.plats |
Run |
| West-Vlaams | plats voertuut script.plats |
Voer 't uut |
| Antwerps | plats doet script.plats |
Doe 't |
| Limburgs | plats gaon script.plats |
Gaan |
| Brussels | plats doeda script.plats |
Doe da |
Interactive REPL
plats repl # English
plats proboir # West-Vlaams: proberen
plats smos # Antwerps: praten/uitproberen
plats efkes # Limburgs: eventjes
plats praot # Brussels: praten
Browse Examples
plats examples # List all examples
plats tuuntnekeer # West-Vlaams: toon eens
plats toondada # Antwerps: toon da da
plats loatskiejn # Limburgs: laat 's kijken
plats examples --run hello # Run an example
Check Syntax
plats check script.plats # English
plats zijdezekers script.plats # West-Vlaams: zijt ge zeker?
plats istdagoe script.plats # Antwerps: is da goe?
plats kloptda script.plats # Limburgs: klopt da?
Error messages come in your dialect:
Manneke, gij zijt 'amen' vergeten op lijn 5! (Antwerps)
Jansen, ge zijt 'amen' vergeten op lijn 5! (West-Vlaams)
Create a New Project
plats init myproject # English
plats allehop mijnproject # West-Vlaams: hier gaan we!
plats awel mijnproject # Antwerps: kom, we beginnen
plats allei mijnproject # Limburgs: vooruit dan
Flemish Fortune (Easter Egg!)
plats fortune # Random Flemish proverb
plats zegt # West-Vlaams: "zen moeder zegt..."
plats watteda # Antwerps: wat is da?
plats wiste # Limburgs: wist ge dat?
Example output:
╔════════════════════════════════════════╗
║ Beter een vogel in de hand dan tien ║
║ op 't dak, jong! ║
╚════════════════════════════════════════╝
All Dialect Aliases
| Command | Standard | West-Vlaams | Antwerps | Limburgs | Brussels | Genks |
|---|---|---|---|---|---|---|
| run | loop |
voertuut |
doet |
gaon |
doeda |
jaowdoen |
| repl | repl |
proboir |
smos |
efkes |
praot |
babbel |
| examples | examples |
tuuntnekeer |
toondada |
loatskiejn |
toontmansen |
jaowkiek |
| check | check |
zijdezekers |
istdagoe |
kloptda |
isdagoe |
istokin |
| init | init |
allehop |
awel |
allei |
maakaan |
pakaan |
| fortune | fortune |
zegt |
watteda |
wiste |
spreuk |
jaowzegt |
| build | bouw |
moakt |
bouwt |
maakt |
fabrikeert |
bouwt |
| help | haalp |
hulpe |
helptemij |
helpt |
aidez |
hulp |
Installation
Option A: pip (Recommended)
pip install vlaamscodex
Option B: pipx (Isolated)
pipx install vlaamscodex
Option C: Development
git clone https://github.com/brentishere41848/Vlaams-Codex.git
cd Vlaams-Codex
pip install -e ".[dev]"
Example Programs
Hello World
# coding: vlaamsplats
plan doe
zet naam op tekst weeireld amen
maak funksie groet met wie doe
klap tekst gdag plakt spatie plakt tekst aan plakt spatie plakt da wie amen
gedaan
roep groet met da naam amen
gedaan
Calculator
# coding: vlaamsplats
plan doe
zet x op getal 10 amen
zet y op getal 5 amen
zet som op da x derbij da y amen
klap da som amen
zet verschil op da x deraf da y amen
klap da verschil amen
zet product op da x keer da y amen
klap da product amen
gedaan
Run Built-in Examples
plats examples --list # Show all examples
plats examples --show hello # View the code
plats examples --run rekenen # Run calculator example
Magic Mode
Platskript files with the encoding header can run directly with Python:
# coding: vlaamsplats
plan doe
klap tekst hallo amen
gedaan
python script.plats # Works after installing VlaamsCodex!
Language Specification (v0.1)
Program Structure
Programs are wrapped in plan doe ... gedaan. Statements terminate with amen.
Statements
| Syntax | Description |
|---|---|
zet <var> op <expr> amen |
Variable assignment |
klap <expr> amen |
Print expression |
maak funksie <name> met <params...> doe ... gedaan |
Function definition |
roep <name> met <args...> amen |
Function call |
geeftterug <expr> amen |
Return statement |
Expressions
| Syntax | Description |
|---|---|
tekst <words...> |
String literal |
getal <digits> |
Numeric literal |
da <name> |
Variable reference |
spatie |
Space character |
plakt |
String concatenation |
Operators
| Platskript | Python | Description |
|---|---|---|
derbij |
+ |
Addition |
deraf |
- |
Subtraction |
keer |
* |
Multiplication |
gedeeld |
/ |
Division |
isgelijk |
== |
Equals |
isniegelijk |
!= |
Not equals |
isgroterdan |
> |
Greater than |
iskleinerdan |
< |
Less than |
VS Code Extension
Install the VlaamsCodex extension for syntax highlighting:
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "VlaamsCodex"
- Click Install
Documentation
- Overview
- How Python Runs It
- Packaging & Installation
- Language Specification
- Security Notes
- User Guide
- CLI Documentation
Contributing
Contributions are welcome! Please read our Contributing Guidelines before submitting a pull request.
Bugs? Ideas? Open an issue!
License
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ in Flanders
't Es simpel, 't es plansen!
Metadata
Release files for vlaamscodex 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vlaamscodex-0.2.5.tar.gz | 46.9 kB | Without provenance | Details for vlaamscodex-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vlaamscodex-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for vlaamscodex-0.2.5-py3-none-any.whl |
Total release size: 122.5 kB
Release files / vlaamscodex-0.2.5.tar.gz
| Download URL | vlaamscodex-0.2.5.tar.gz |
|---|---|
| Size | 46.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d45df38355f6a4c46768517c978d610d45fc1aa213cd4dfb9418a61b3eadcd6
|
|
BLAKE2b-256 checksum How to use checksums |
d4d3cf8b18c4f06078cf4e69f3c945f41b6533cc3a1372b68f52717948372cc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / vlaamscodex-0.2.5-py3-none-any.whl
| Download URL | vlaamscodex-0.2.5-py3-none-any.whl |
|---|---|
| Size | 75.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0290c4230ceb15113ddd7bff22d36355fc682e9700b3e35c09a95869feb2d521
|
|
BLAKE2b-256 checksum How to use checksums |
35be0a27f55155baaa35cee969ef3040db6881c9be0cf922ec83ee70d6477fd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Security for vlaamscodex 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.