-
Notifications
You must be signed in to change notification settings - Fork 0
Early Ideas
Cameron Billingham edited this page Feb 21, 2016
·
1 revision
-
Pokémon script
- examples:
- (function), I choose you
- (function) use (method)
- examples:
-
Sunior Script
- Do a language how we wish to do it (implement the require feature and more)
- Instead of using "while use "as"
- e.g. as x < 4 do something
- x = 4
- list/Array
- list comprehensions
- e.g. - [x*x for x in list when x%2 is 0]
- arrows for functions
- e.g. - square = (x) -> x * x
- python-esque blocks with colon (Cameron)
- array slicing
- list[0:2]
- "require" statement for argument checking.
- require args.length = 1 (would throw illegal argument exception if false)
- curly braces (Cameron)
- semicolons
- parentheses?