summaryrefslogtreecommitdiffstats
path: root/lib/language.tcl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* dict getdef -> dict_getdef. Much, much fasterOmar Rizwan2023-10-061-21/+2
|
* display: WIP: Refactor into files; use wishes, not Display::Omar Rizwan2023-10-061-0/+29
| | | | | | | | Expose shader stuff to user programs for the first time. Mostly works, but display thread and main thread run much slower (28fps display, 70fps main). Also introduce dict getwithdefault (helpful for rest options).
* main,display: Version the Folk heap; evict stale/unused images.Omar Rizwan2023-09-301-0/+19
| | | | | This at least keeps camera slices from crashing the system. TODO: Don't draw stale images.
* language: Backport fully lexical fnOmar Rizwan2023-09-291-3/+6
|
* Merge branch 'main' into osnr/vulkan-displayOmar Rizwan2023-09-271-3/+5
|\
| * trie: Add support for /..rest/ matchingOmar Rizwan2023-09-241-3/+5
| | | | | | | | | | | | | | Not really supported in Whens yet, though -- only for direct trie queries like findMatches. Also make assert more tolerant of weird expressions.
* | display: Add basic (wrong scale) text support, PT SansOmar Rizwan2023-09-171-0/+1
|/
* Measure display fpsOmar Rizwan2023-08-111-0/+2
|
* Better (scope-preserving) impl of foreverOmar Rizwan2023-07-201-0/+9
|
* Add lenumerateOmar Rizwan2023-07-101-0/+7
|
* Add prefix math ops to languageOmar Rizwan2023-06-271-0/+2
|
* Add assert to lib/language.tclOmar Rizwan2023-06-191-0/+12
|
* Introduce fork-zygote process system.Omar Rizwan2023-06-181-0/+2
| | | | | | | | | | | | | | Also refactors/separates ::nodename to be ::thisNode (this computer) and ::thisProcess (this OS process). All tests should pass. Zygote-based processes are much faster to start up since they don't need to recompile C code or reload Folk. They still need to connect to Folk via WebSocket for now, and the automatic management we'd want (bidirectional, based on both match lifetime and process lifetime) isn't working yet. Some of the node vs. process distinction in naming still needs to be cleaned up, too, I think.
* Add python3 testOmar Rizwan2023-06-161-0/+51