Skip to content

Web-based bytecode interpreter for quick matrix calculations and fast scripting. Built in Rust and runs on ReactJS through web assembly.

Notifications You must be signed in to change notification settings

pranav-putta/mathscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MathScript -- Scripting Calculator

Built by Pranav Putta, Georgia Institute of Technology 2020

About

MathScript is a scripting language built for matrix calculations. It runs through a fully custom bytecode interpreter built using Rust. MathScript is ready to go for online usage, easy to compile into WebAssembly and deployable on ReactJS through any supported web browser.

MathScript supports recursion, ternary operations, boolean expressions, and many other standard language operations. Matrices and units are treated as first-class citizens in MathScript, allowing users to label variables with units and have automatic conversion and simplification done through the web.

Units

Here's an example!

Screen Shot 2021-10-03 at 7 27 28 PM

And for fun, the web implementation displays the bytecode translation for you to see how the internals of this language is constructed. Screen Shot 2021-10-03 at 7 29 32 PM

Recursion

Screen Shot 2021-10-03 at 7 35 53 PM

About

Web-based bytecode interpreter for quick matrix calculations and fast scripting. Built in Rust and runs on ReactJS through web assembly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published