Skip to content
master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Maple



A programming language based on C++

Extension (.maple)

🚀 Quick Start

You can grab the latest release here~
Also check out the guide here (soon)

📌 Want to contribute?

That's great! Make a pull request~


🔥 Features

Support for integers, floats, strings, lists and objects
Basic math operations (+, -, *, /, ^)
Variables (VAR)
Logical operators (==, <, >, <=, >=, AND, OR)
Conditional expressions (IF, ELIF?, ELSE?)
For loops (FOR, TO, STEP?)
For-each loops (FOREACH, IN)
While loops (WHILE)
Functions (FUNC)
Other (RETURN, BREAK, CONTINUE)
Objects (NEW, OBJECT)
Classes (CLASS, CONSTRUCTOR)

🧱 Are there some examples?

Yes, examples are in here, I'll add more once I'm not lazy~


Want to compile yourself?

Requirements: g++ 5.1 or later and make 3.81 or later
After you have all required tools, run make or make debug

> Instructions - Windows (64-bit) <
Install mingw-w64 (64-bit version only)
Install Chocolatey and then install with choco install make
Also download maple_devtools-win.zip and extract the files into C:/Program Files/maple_devtools-win

> Instructions - Linux <
Run sudo apt-get install g++ build-essential libssl-dev zlib1g-dev

> Instructions - macOS <
Not supported yet


🖥️ Commands

.\maple-shell - Starts the standard shell to execute Maple code
.\maple-shell -d - Starts the standard shell with extra debug info

.\maple-shell -v - Shows the current version and information
.\maple-shell -tests - Runs the default test suite
.\maple-shell -run [file_name].maple - Runs a specified .maple file

About

An interpreted programming language based on C++

Resources

License

Packages

No packages published