Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Aardvark

< >

Aardvark is an open source programming language created in 2020 by Hg0428 and JustCoding123 and CompilingCoder and TheBoys619 and PlasDev and ZDev1.

#1337on PLDB 4Years Old
Download source code:
git clone https://github.com/Aardvark-team/Aardvark-py
Source Code ยท Docs

Aardvark was originally designed in Python as an interpretter. This encompassed all releases up to 1.0. Then, in 2021 and 2022, other implementations started emerging, written in language such as Go and C++. In 2022, however, Aardvark underwent the 1.0 redesign. The language was redesigned from the ground up and re-implemented with a new, but temporary Python interpretter. Now, in 2023, the team is building the final compiler. This compiler is written in Aardvark itself and compiles to LLVM. It has the goal of being faster than C while easier than Python. It was designed for beginners and pros alike. The documentation is avaialiable here: https://aardvark-docs.programit.repl.co. It includes many tutorials and articles.


Example from the web:
stdout.write("Hello World!\n")

Language features

Feature Supported Example Token
hasSelfOrThisWord โœ“ You can name it whatever you like.
hasReservedWords โœ“
Sets โœ“
Print() Debugging โœ“
Prefix Notation โœ“
Postfix Notation โœ“
Pointers โœ“
Pattern Matching โœ“ This functionality is included in switch statements.
Operators โœ“
Octals โœ“
Null โœ“ `null`
Multiple Inheritance โœ“
Multiline Strings โœ“
MultiLine Comments โœ“
Module Pattern โœ“
Manual Memory Management โœ“
Lists โœ“
Line Comments โœ“
Infix Notation โœ“
Increment and decrement operators โœ“ ++ and --
Implicit Arguments โœ“
Integers โœ“
Inheritance โœ“
File Imports โœ“
hasIfs โœ“
hasIfElses โœ“
Here Document โœ“
Hexadecimals โœ“ `16_fa7` would evaluate as a hexadecimal number
hasGlobalScope โœ“
hasForLoops โœ“
hasFnArguments โœ“
Floats โœ“
First-Class Functions โœ“
Exceptions โœ“ Has throw, try, and catch
Dynamic Properties โœ“
Constants โœ“ `static` keyword
Constructors โœ“
Conditionals โœ“
hasContinue โœ“
Comments โœ“
Classes โœ“
hasBreak โœ“
Booleans โœ“
Binary Literals โœ“ `2_101` would evaluate as a binary number.
Assignment โœ“
Anonymous Functions โœ“
Labels X
- Build the next great programming language ยท Add ยท About ยท Search ยท Keywords ยท Livestreams ยท Labs ยท Resources ยท Acknowledgements ยท Part of the World Wide Scroll