Commit Graph
14 Commits
Author SHA1 Message Date
Thomas Weber ab9deb2d09 Smaller fixes/changes
- add looks_say
- add flags for CompiledInput
- add nullabe/NaNable
2020-06-24 12:47:34 -05:00
Thomas Weber bdebad01bd Add a couple more blocks
- add pen_stamp
- add data_insertatlist
2020-06-24 00:37:49 -05:00
Thomas Weber 73309e9fb1 A whole lot of compiler updates
- fix handling of missing inputs
- fix handling of NaN numbers
- fix color optimization
- events -> event (still empty)
- add control_wait_until
- add data_deleteoflist
- add looks_cleargraphiceffects
- add looks_costumenumbername
- add motion_setx
- add motion_sety
- add motion_changexby
- add motion_changeyby
- add operator_letter_of
- add operator_mod
- add operator_length
- add argument_reporter_boolean
- fix procedure_call default values
- add sensing_keypressed
- add sensing_mousedown
- add sensing_keyoptions
- add pen_changePenColorParamBy
- add pen_setPenColorParamTo
- fix pen size
- add pen_menu_colorParam
2020-06-24 00:29:23 -05:00
Thomas Weber d8c095271f Improve some compiler internals
- fix procedures being compiled more than once
- remove Cast dependency from execute
2020-06-23 23:00:53 -05:00
Thomas Weber 8ecc1ba1c8 re-enable warp
We are about 3-4x slower than forkphorus but still significantly faster than Scratch 3
2020-06-23 19:16:06 -05:00
Thomas Weber 417fe21215 Get quicksort to run
- add control_stop
- fix control_repeatuntil
- fix control_while
- add data_hidelist
- add data_showlist
- add data_deletealloflist
- add data_addtolist
- add data_replaceitemoflist
- add data_lengthoflist
- add data_itemoflist
- add motion_xposition
- add motion_yposition
- fix procedures_call
2020-06-23 18:57:37 -05:00
Thomas Weber 85d34f03ac Improve procedure support
Supports string arguments
Supports warp
2020-06-22 22:02:28 -05:00
Thomas Weber b93558f850 Basic procedure support 2020-06-22 21:34:47 -05:00
Thomas Weber 4a4ba718c6 pen, colors, thread state 2020-06-22 19:34:30 -05:00
Thomas Weber d782dca4b9 add control_wait, timers 2020-06-22 17:07:18 -05:00
Thomas Weber c10a631d2e get some more simple things to sortof work 2020-06-22 16:55:46 -05:00
Thomas Weber 99c570f459 New compiler/runtime model
Use continuations instead of generators
Lots of things taken quite directly from forkphorus/phosphorus
2020-06-14 20:53:09 -05:00
Thomas Weber d62232d744 Get some more basic things to work at all
- add operator_gt
- add operator_lt
- add operator_join
- add sensing_resettimer
- add sensing_touchingobject
- add sensing_timer
- fix casting
2020-06-12 19:18:40 -05:00
Thomas Weber f95b12dc7e Lay out more of the compiler groundwork
- add CompiledInput, will allow more complex operations later
- add eval.js to handle runtime data & methods
- move compiler executor to own file
- simplify compiler execute, scripts are now responsible for all thread status on their own
- add type annotations for compilers
- add math_angle
- add math_integer
- add math_positive_number
- add data_variable
2020-06-11 01:01:35 -05:00