-
Notifications
You must be signed in to change notification settings - Fork 2
Lua integration
pwl edited this page Mar 4, 2012
·
10 revisions
Use Lua for configuration/restart files instead of XML?
Pros:
- Scripting language, can perform dynamic initial data creation, declare functions to be called from Fortran code etc.
- luac (compiled lua code)
- lua itself can call c and fortran code
- lua supports arbitrary precision numbers
- lua has ISO C API, accessible from Fortran
- https://bitbucket.org/haraldkl/aotus/overview
- https://github.com/MaikBeckmann/f2k3-lua/tree/simple
- https://github.com/adolgert/FortLua
- http://numlua.luaforge.net/
WARNING: lua libraries "io" and "math" are not yet compatible with __float128.