Commit graph

43 commits

Author SHA1 Message Date
Jeremy Penner f7c33a23a6 Add tooltip sidebar, auto-select first item in dropdown with enter 2020-07-05 22:37:32 -04:00
Jeremy Penner 4e720f0d67 Refactor / simplify scripting syntax classes
* Introduce Stype, a generalized object for producing synts by text matching
* consistently use stype to determine what can be inserted in a given place
* rewrite SyntDesc to more extensively use Stypes
* Introduce SyntHole, a generalized anyblob that can be put anywhere and evals
  to failure
* Remove all data types but flags, introduce bots
* Remove math
* Remove compiler / VM
* Remove unused methods
2020-07-05 17:17:46 -04:00
Jeremy Penner 6790f23474 add nix-build support 2020-06-28 14:20:31 -04:00
Jeremy Penner 8a605b84b8 License under AGPLv3 or later 2020-06-28 11:27:56 -04:00
Jeremy Penner 70a7844aae Fixes & cleanup
* fix pickling under greenlet
* allow overriding config with an external JSON file
* remove useless flashpolicy server (flash is sadly dead)
2020-06-28 10:32:13 -04:00
Jeremy Penner a358579e87 stop maintaining non-Cython ANSI abstraction module 2020-06-28 10:29:19 -04:00
Jeremy Penner cf48b50481 fix intensity on non-SyncTerm terminals 2020-06-27 23:03:24 -04:00
Jeremy Penner 23c1b75be4 handle clients that send only \r for enter key 2020-06-27 22:59:45 -04:00
Jeremy Penner 59f0fc890a fix some awkward crashes around killing tasklets 2020-06-27 22:59:45 -04:00
Jeremy Penner 04963f4512 Port to greenlet; nix-based dev environment 2020-06-27 22:59:45 -04:00
Jeremy Penner 5ddee41d8a cleanup to work on new server 2020-06-27 22:59:45 -04:00
Jeremy Penner a0bf0ebcdf fix buttons in lobby 2020-06-27 22:59:45 -04:00
Jeremy Penner 127bae1500 make pressing enter work properly in the sprite w and h fields 2020-06-27 22:59:45 -04:00
Jeremy Penner dd5e1f7984 copy selected frame when creating a new frame 2020-06-27 22:59:45 -04:00
Jeremy Penner 10fc63f100 create sprite if enter hit while editing sprite size 2020-06-27 22:59:45 -04:00
Jeremy Penner 19fe12a12a add sprite / animation support
add support for returning to the spot where you left off in the lobby
move meta information out of drawing name and off to the side
2020-06-27 22:59:45 -04:00
Jeremy Penner 70529b610f add support for wrapping strings with newlines 2020-06-27 22:59:45 -04:00
Jeremy Penner 6ef4044185 add pos.Xz, pos.Yz methods 2020-06-27 22:59:45 -04:00
Jeremy Penner 49f5ed1309 make upgrade process more forgiving: don't call InitTransient on objects until everything's upgraded 2020-06-27 22:59:45 -04:00
Jeremy Penner 68133fc2e1 turn on smiley faces dammit 2020-06-27 22:59:45 -04:00
Jeremy Penner df82add732 fix some naming in events, make selectDg return the result of calling the dg 2020-06-27 22:59:45 -04:00
Jeremy Penner a061e0f8ee thoughts, fix error in scripting 2020-06-27 22:59:45 -04:00
Jeremy Penner a36c4bf7ce add LeaveJoinToken, which exercises new select API, and refactor various tokens to use it 2020-06-27 22:59:45 -04:00
Jeremy Penner 9bde1fdb76 select: listen to multiple events at once 2020-06-27 22:59:45 -04:00
Jeremy Penner c96f0e8698 start to think about event model 2020-06-27 22:59:45 -04:00
Jeremy Penner 78def7f8c2 corrently persist names 2020-06-27 22:59:45 -04:00
Jeremy Penner e9d1909987 fix vm bug; "if" works now! 2020-06-27 22:59:45 -04:00
Jeremy Penner 15f4b500c2 finish project support 2020-06-27 22:59:45 -04:00
Jeremy Penner 5d01b2c047 add debugging commands, test + fix vm 2020-06-27 22:59:45 -04:00
Jeremy Penner e80826de9e Flesh out API for failure 2020-06-27 22:59:45 -04:00
Jeremy Penner b9dd53eea1 allow token to kill itself 2020-06-27 22:59:45 -04:00
Jeremy Penner d8b3317fcf project support 2020-06-27 22:59:45 -04:00
Jeremy Penner 3dc0752a5d don't require syntParent when constructing synts
implement dirt-simple stack vm / "compiler"
2020-06-27 22:59:45 -04:00
Jeremy Penner f65c877a91 binary operators! 2020-06-27 22:59:16 -04:00
Jeremy Penner 734b38f66c allow properties w/ setters to work with persistable classes 2020-06-27 11:21:39 -04:00
Jeremy Penner 1ca029e2b6 refactor syntline to represent the empty line, and replace itself
fix up matching for variable references
2020-06-27 11:21:39 -04:00
Jeremy Penner 0bf142c64e variable references work! 2020-06-27 11:21:39 -04:00
Jeremy Penner 6213a0f917 scripting overhaul 2020-06-27 11:21:39 -04:00
Jeremy Penner 60ca1e19f1 clear out some more leo comments 2020-06-27 11:21:39 -04:00
Jeremy Penner ec06eb9119 add font for future 2020-06-27 11:21:39 -04:00
Jeremy Penner eca926a111 gitignore 2020-06-27 11:21:39 -04:00
Jeremy Penner e0abeabb0c clear out leo comments + cruft 2020-06-27 11:21:39 -04:00
Jeremy Penner 5d61e939aa initial commit 2020-06-27 11:21:34 -04:00