ScratchData LogoScratchData
Back to hppavilion's profile

[WIP] WalScript Programming Language

HPhppavilion•Created September 28, 2014
[WIP] WalScript Programming Language
1
0
36 views
View on Scratch

Instructions

At the moment, you need to copy Scriptor over to your project to run it. If you want to make it run a custom script that isn't just hard coded (eg, if you want to be able to run a variety of programs in the same project) you'll need to be able to edit 'Script' easily. I would advise making a list called 'Script' for all sprites before running the scriptor in your project. Syntax: command}args}args}{expression args} Commands: print: Prints out the data from args. Infinite arguments. Concatenated without dividers. var: Declares a new variable. Syntax is var}name}value} set: sets a variable to a value. Syntax is set}var}value} stop: Ends the project. Clears output and runtime. debugstop: Ends the project without clearing the output or runtime. Intended for handling crashes, finding what goes wrong, and testing commands. hold: Stops the project until the space key is pressed and released. For stopping to let the user read and such. Laggy. Expressions: #var#: becomes a the value of the variable with the name var. Operations: +-*/^. Order of operations is inner parenthesis out, left to right (Not PEMDAS)

Description

This is a programming language I've been working on with plans to implement into an OS so I can basically make the ultimate operating system and roll all my Walrus projects into one.

Project Details

Project ID27681714
CreatedSeptember 28, 2014
Last ModifiedDecember 15, 2014
SharedNovember 28, 2014
Visibilityvisible
CommentsAllowed