Skip to content

OpenModelica/MetaModelica.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

199 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MetaModelica.jl Jenkins CI Stable Docs Dev Docs 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.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors