SnapTalk is a simplified programming language inspired by Smalltalk. please note that SnapTalk is designed for the editor so things might not line up. Commands: thing: sends everything after 'thing '. <name> :=: makes a variable named <name> and sets it to everything after ':= '. <name> := [usrin]: makes a variable named <name> and asks ?. You then put in something to put in <name>. vars <name>: returns the content of <name>. vars delvar <name>: deletes the variable <name>. meths mkmeth: makes a method. complete <name>: completes the method that you started. !complete <name>: adds complete <name> to the method. meths <name>: runs the method named <name>. meths delmeth <name>: deletes the method named <name>. loop <length>:<command>: executes <command> <length> times. loop do:<command>: executes <command> forever. loop <anything not ending in :>: stops all do loops. <var> + <number>: adds the value in <var> to <number> and saves the value to <var>. <var> - <number> subtracts instead of adding. <var> * <number> multiplies. <var> / <number> divides. <var> \ <number> divides backwards. if <var> = <var/number>: runs code only if it is true. you car use || for not equal to. also why is the date invalid? just to let you know the project was started on twos-day.
Created February 22, 2022
Last updated October 4, 2022
Published February 22, 2022