Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.19 KB

File metadata and controls

36 lines (23 loc) · 1.19 KB

MetaModelica.jl Jenkins CI License: OSMC-PL

MetaModelica.jl provides Julia implementations of MetaModelica runtime concepts used by OpenModelica, including pattern matching macros, union and record helpers, optional values, immutable-list integration, and runtime compatibility functions.

Usage

using MetaModelica

value = @match (1, 2) begin
  (x, y) => x + y
end

The main entry points are @match, @matchcontinue, @Uniontype, @Record, SOME, NONE, and the exported MetaModelica runtime helper functions.

Documentation

Documentation is generated with Documenter.jl:

julia --project=docs -e 'using Pkg; Pkg.develop(path=pwd()); Pkg.instantiate()'
julia --project=docs docs/make.jl

GitHub Actions builds the docs on pull requests and deploys them from master pushes.

Development

Run the test suite with:

julia --project=. -e 'using Pkg; Pkg.test()'

This package follows YASGuide.