Skip to content

megaflo/e2lang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

e2lang

e2l is the e mbedded e quation l anguage.

It's purpose is to provide a simple language for automatic differentiation and JIT code generation in variable-structure DAE simulation environments.

Dependencies

You can install the OCaml dependencies running:

  opam install core core_bench smart_print kaputt oasis

Building

Build and install libtnp first (see https://github.com/AMSUN-Berlin/libtnp/blob/master/README.md )

Run the following commands:

  oasis setup
  ./configure --enable-tests
  make

When libtnp is installed in a non-standard location, you have to set the environment variable LIBRARY_PATH accordingly:

  oasis setup
  ./configure --enable-tests
  LIBRARY_PATH=$HOME/local/lib make

Testing

After building the tests are run via (assuming native compilation is supported on your platform)

  ./e2test.native

About

embedded equation language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • OCaml 98.8%
  • C 1.2%