The Wayback Machine - https://web.archive.org/web/20201122093153/https://github.com/square-lang/Square
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

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

README.md

Build Status

What is Square

Square is a powerful programming language.

Features of Square

  • Simple Syntax
  • Highly Portable
  • Easy to learn
  • Small

How to run

$ cd src
$ a.exe ../examples/helloworld.squ

Examples

Print "Hello World!" on the screen:

print "Hello World!"

A program to check whether it is an even number:

a := 10
# You can replace "==" with "is" #
if a % 2 is 0 -> {
    print "This is a even number"
}

else -> {
    print "This is a odd number"
}

Result:

This is a even number

Contribution

Welcome to pull a request!

TODO

  • A tiny VM for square!

License

Copyright (c) 2020 Stepfen Shawn

The Author

Square was designed and developed by Stepfen Shawn in 2020.

About

The Square Programming Language. A tiny programming language under 200kb.

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.