Skip to content

Releases: trinnguyen/bahndsl

BahnDSL v1.0.5

01 Mar 14:59
b5b58c3
Compare
Choose a tag to compare
  • 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

06 Apr 21:01
Compare
Choose a tag to compare
  • Signal aspects generated for YAML files have been updated from red, yellow, green, and white to aspect_stop, aspect_caution, aspect_go, and aspect_shunt
  • Keywords for signal aspects have been updated from red and clear to stop, and go and shunt
  • 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 keywords a_signal and a_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
  • 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

31 Jul 17:14
Compare
Choose a tag to compare
  • 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

28 Jul 17:27
535e2d8
Compare
Choose a tag to compare
  • 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

18 Apr 14:52
46faea2
Compare
Choose a tag to compare
  • 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