-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
executable file
·28 lines (21 loc) · 918 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Author: Benji Schwartz-Gilbert
Original version created: September 10th, 2010
Works on:
-- Firefox 3.6+
-- Safari 5+
-- Chrome 6+
-- Opera 10+
[ Basically needs canvas support ]
Description:
A javascript command line built for the 2010 js1k competition. Completely canvas rendered (no input/textarea elements or overlays) active command line which lets you build JS scripts on the fly.
Features:
-- Built in memory; stores assigned variables for you to be used later
-- Error handling and and prompting
-- Namespaced to prevent (most) collisions with evaluated code
How to use:
Set variables:
variable_name = function/value/object (don't use var in front of name)
Use variables:
Call the variable name directly (i.e. x*y)
Use function:
variable_name(arguments) Backspace key deletes, Enter executes line, functional shift for uppercase/alt-punctuation, arrows keys are symbol shortcuts