dbetz / pico-basic Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/pico-basic
Automatically exported from code.google.com/p/pico-basic
Editor commands: NEW NEW filename LOAD LOAD filename SAVE SAVE filename LIST RUN Language syntax: REM comment DEF const = expr FUNCTION function-name FUNCTION function-name ( arg [ , arg ]... ) END FUNCTION SUB function-name SUB function-name ( arg [ , arg ]... ) END SUB RETURN expr dim-statement: DIM variable-def [ , variable-def ]... variable-def: var [ scalar-initializer ] var '[' size ']' [ array-initializer ] scalar-initializer: = constant-expr array-initializer: = { constant-expr [ , constant-expr ]... } [LET] var = expr IF expr ELSE IF expr ELSE END IF STOP END FOR var = start TO end [ STEP inc ] NEXT var DO DO WHILE expr DO UNTIL expr LOOP LOOP WHILE expr LOOP UNTIL expr label: GOTO label PRINT expr [ ;|, expr ]... [ ; ] expr AND expr expr OR expr expr ^ expr expr | expr expr & expr expr = expr expr <> expr expr < expr expr <= expr expr >= expr expr > expr expr << expr expr >> expr expr + expr expr - expr expr * expr expr / expr expr MOD expr - expr ~ expr NOT expr function ( arg [, arg ]... ) array [ index ] (expr) var integer "string" Functions: RND(x) ABS(x) IN(pin) IN(high, low) OUT(pin) OUT(high, low) HIGH(pin) LOW(pin) TOGGLE(pin) DIR(pin, state) DIR(high, low, state) GETDIR(pin) GETDIR(high, low) CNT() PAUSE(milliseconds) PULSEIN(pin, state) PULSEOUT(pin, duration)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.