This repository has been archived by the owner on Oct 19, 2023. It is now read-only.
Releases: jeffreyguenther/shiro
Releases · jeffreyguenther/shiro
Updated Syntax
- Reimplemented path resolution algorithm to enable selectors and references.
- Removed the need to type
port
before defining and inline port - Added
Map
multi-function to better support list transformation.
Fixed bug in Flower of Life example
Hot-fix to remove random characters from flower of life example
Bug Fixes and Multi-functions
This will be the last release before moving to the work in the types branch.
- Added multi-functions
- Added examples
Added imports
Added the ability to import node definitions from other Shiro files.
use "filename.sro"
There is one important caveats to keep in mind when using imports. Only the node definitions from the included files are imported. If a graph or state is defined in a different file, it will be ignored.
Check out example_code/ImportsExample
for an example how imports work.
Updated Syntax
This release updates Shiro to the new Syntax.
Examples of the new syntax can be found in the example_code
folder.
The changes can be summarized as:
- Adds port type to port declaration (input, eval, output)
node Point begin
input x Value
input y Value
eval update Point(x[0], y[0])
output point Value(update[0])
end
- Introduces new option keyword for creating subjunctive nodes. Ports and nodes can now be made subjuncts.
node EndPoints[P1] begin
option Point -> P1 begin
x(400)
y(400)
end
option Point -> P2 begin
x(100)
y(400)
end
end
- this can be used to refer to a port
Initial release with subjuncts
Initial release of shiro with subjuncts.
- Moved to gradle build system