summaryrefslogtreecommitdiffstats
path: root/test/basic.tcl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* WIP: Literal lookups for ...rest (works in Whens sometimes now)Omar Rizwan2023-10-031-0/+18
| | | | But crashes on unmatch sometimes in production.
* Add assert to lib/language.tclOmar Rizwan2023-06-191-6/+0
|
* Introduce fork-zygote process system.Omar Rizwan2023-06-181-1/+1
| | | | | | | | | | | | | | 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.
* Fix joins: test/basic passesOmar Rizwan2023-06-011-1/+0
|
* Start on lambda/apply-based environment managementOmar Rizwan2023-06-011-13/+14
| | | | | | | Should hopefully be faster bc we can cache the bytecode representation of each code block Only working on (some of) test/basic right now
* Support explicit lexical envs. Narrow envs for tags-and-calibrationOmar Rizwan2023-04-251-1/+1
| | | | Another 5ms performance improvement, I think?
* WIP (most tests pass): Move recollect into COmar Rizwan2023-04-241-1/+1
| | | | (Its Tcl implementation was the last bottleneck)
* Revert most of the join implementation in favor of a desugar implOmar Rizwan2023-03-051-2/+4
| | | | | | | | | | | Joins won't work with `Assert when` now, but they will work with ordinary `When`. The motivation is to make it possible to use `When when` with every clause of a join, so every clause has to exist as a separate When in the database. (Another point is that the old join implementation was a significant jump in core complexity without an accompanying performance increase, so I don't really want to keep it around.)
* Test equivalent join in basic testOmar Rizwan2023-02-271-1/+6
|
* Improve basic testOmar Rizwan2022-12-231-2/+25
|
* New basic test. This isn't broken thoughOmar Rizwan2022-12-231-0/+29