Skip to content
/ squat Public

Toy programming language. Stack based virtual machine

Notifications You must be signed in to change notification settings

OFYA61/squat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Squat Programming Language

A programming language I made to learn rust. I even made my own ugly arg_parser instead of using a premade crate to learn how macros work.

Examples

You can find examples in test_scripts.

Native functions

  • input() string
  • print(string) nil
  • println(string) nil
  • cbrt(number) float
  • sqrt(number) float
  • pow(number, number) float
  • to_int(any) int
  • to_float(any) float
  • exit(int) nil
  • time() float
  • type(any) string
  • to_str(any) string

About

Toy programming language. Stack based virtual machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published