Releases: trinnguyen/bahndsl
Releases · trinnguyen/bahndsl
BahnDSL v1.0.5
- Adds support for reversing loop modules with the
reversers
configuration block, e.g., as in the SWTbahn Standard config.bahn - Added
log
keyword to allow functions written in BahnDSL to print to syslog (LOG_INFO) - Optimised the computation of route conflicts: Significantly less memory consumption, computation complexity, and file writing time
- Updated dependencies to latest versions: Xtext 2.30 and Kieler/SCCharts 1.3
- Added initial IDE branding: Splash screen and launcher icons
- Deprecated the VS Code extension
Full Changelog: v1.0.4...v1.0.5
BahnDSL v1.0.4
- Signal aspects generated for YAML files have been updated from
red
,yellow
,green
, andwhite
toaspect_stop
,aspect_caution
,aspect_go
, andaspect_shunt
- Keywords for signal aspects have been updated from
red
andclear
tostop
, andgo
andshunt
- Track output and accessory addresses are now treated separately in their own address space
- Updated the configuration information that can be queried when defining Bahn behaviour (see the
schema
in standardlib). Added ability to query whether an item is a signal or segment with keywordsa_signal
anda_segment
- Added relative arithmetic, bitwise, and max/min assignment operators
- Bahn Compiler:
- Added route generation strategy for simple routes (between any two signals without any intermediate signals) and extended routes (between any two signals with zero or more intermediate signals). The
simple
strategy is useful to restrict the routes that are generated for large railway networks. Command line argument added:-r <route generation mode: simple, extended>
- Path of an interlocking route now includes the intermediate signals
- SCCharts generation now uses relative assignments to increment a counter or index
- Added route generation strategy for simple routes (between any two signals without any intermediate signals) and extended routes (between any two signals with zero or more intermediate signals). The
- Bahn IDE:
- Added syntax highlighting and validation of SCCharts (*.sctx) files
- Added support for macOS ARM (aarch64)
Full Changelog: v1.03...v1.0.4
BahnDSL v1.0.3a
- Fixes the normalisation of domain-specific evaluation expressions (
is
"thing"occupied
/available
) - Bahn IDE: Adds better syntax highlighting and labels for code outline
- VSCode Extension: Adds better syntax highlighting. Workaround for embedded Language Server Protocol by creating a remote instance when starting up the extension
BahnDSL v1.0.3
- Adds support for route orientation for automated route driving
- Adds new keyword
reversed
to specify blocks that are oriented opposite to the conventional driving direction of the railway layout - Adds support for peripheral boards, which support GPIO devices with low-level port addresses
- Fixes validation issues when BahnDSL projects are opened and closed repetitively
- Fixes the generated SCCharts models to be reentrant
BahnDSL v1.0.2
- Fix building dynamic C library on Windows (DLL) using clang or gcc
- Use embedded SCCharts compiler (.jar files), do not require scc or kico in the PATH env anymore
- Add 2 menu items to Bahn IDE (right click to the Bahn source file)
- Generate C Code
- Compile to shared C library