Skip to content

v1.0.0-dev3

Pre-release
Pre-release

Choose a tag to compare

@MaskedMatters MaskedMatters released this 17 Feb 01:36

Overall Summary

You will now get graceful errors when you illegally PUSH, PRINT, JUMP, LOOP, or WAIT incorrectly. You must use quotations in the PRINT opcode but you can use double or single quotations marks. A graceful error will raise when trying to divide by zero. You can now comment in your code using a #. The HALT opcode is technically no longer needed, but still very much recommended. We have also changed the name of our programming language to, S# (SSharp) instead of S3. They still stand for the same thing.

Here is an example using new features and bug fixes:


PRINT "Hello, world!" # This is a PRINT opcode
PRINT 'Hello, world!' # This one works as well!

WAIT 1000 # Wait's 1 second

PUSH 0
PUSH 1

DIV # Tries to do 1/0, raises error
PRINT Hallo! # Raises error
PUSH foo # Raises error

# Etc...

🚀 Features

feat: Added validity checks for PUSH, PRINT, JUMP (and similar), LOOP and WAIT by @MaskedMatters in 5c0d396
feat: PRINT supports double and single quot. by @MaskedMatters in 5c0d396
feat: Add validity checks for DIV (ZeroDevisionError) by @MaskedMatters in a6bd21b

🐛 Fixes

fix/docs: Comments now work, .gitignore updated, README updated by @MaskedMatters in 51aaf58
fix: Once pointer counter reaches the end without a HALT, it should HALT anyways by @MaskedMatters in 236a2c9
fix: Rename S3 to S# in all files by @CaptioDev in 1a8d667

Full Changelog: v1.0.0-dev2...v1.0.0-dev3