Commits

Author Commit Message Labels Comments Date
Harald Klimach
Added a unit test for the quadruple interface
Harald Klimach
Added interface support for quadruple precision real numbers While Lua itself supports only floating point numbers with double precision representation in its default configuration, it might be convenient to have support for quadruple precision interfaces, if the Fortran compiler supports it. This patch adds support for such interfaces if the Fortran compiler has supports it. Otherwise some dummy code is used to satisfy all dependencies.
Harald Klimach
Separated error handling into module on its own.
Harald Klimach
Updated waf
Harald Klimach
Use a dedicated utests routine from utest_results
Harald Klimach
Deal with empty stdout from unit tests
Harald Klimach
Use the waf_unit_test facilities, to run the unit tests
Harald Klimach
Removed the -WB and -Winline from the intel warning flags
Harald Klimach
Added a noomp flag to the fc_flags in waf
Harald Klimach
Really fix the waf issue with missing Errors imported to fc_xlf. Missed updated file previously...
Harald Klimach
Updated waf with bugfix for fc_xlf
Harald Klimach
Updated waf and added openmp option to the fc_flags
jas43
Implement lua_register in Fortran. This allows fortran procedures compiled into a shared library and then used directly from Lua in the same way as C.
jas43
flu binding to lua_pushcclosure. I tried to keep the same kind of interface as in lua_pushcclosure, where a function is passed in as an argument (which then has to be converted to a function pointer which is interoperable with C).
jas43
Procedure to create flu_state from a pointer to an existing Lua state. This allows flu bindings to be used from a Fortran procedure which is called directly from Lua and hence has the interface function callable_from_lua(lua_state) result(val) use, intrinsic :: iso_c_binding, only: c_ptr type(c_ptr), value :: lua_state integer(c_int) :: val end function
Harald Klimach
Applied patch 3 for Lua 5.2.1 (from: http://www.lua.org/bugs.html#5.2.1-3)
Harald Klimach
Applied patch 2 for Lua 5.2.1 (from: http://www.lua.org/bugs.html#5.2.1-2)
Harald Klimach
Added aot_fun_put_top to allow the addition of the current top of the stack into the argument list of a Lua function.
Harald Klimach
Do not attempt to put a table inside itself in aot_table_set_top.
Harald Klimach
Added a wrapper aorund the lua_insert method. Allow setting the top of the stack as an entry for the table.
Harald Klimach
Added the wrapper for lua_setfield to LuaFortran
Harald Klimach
Added the possibility to create new tables in the Lua context to the aot_table module. Simple vectors can be created with aot_table_from_1Darray, this might be mainly useful to provide tables as arguments to functions.
Harald Klimach
Added a wrapper for lua_settable to LuaFortran
Harald Klimach
Added wrapper for lua_createtable in LuaFortran
Harald Klimach
Enhanced comments on the aot_fun_module
Manuel Hasert
merge
Manuel Hasert
much more cleaning up, merged tuts
Harald Klimach
Minor doxygen correction
Harald Klimach
Some more doxygen for aot_fun_module
Harald Klimach
Minor doxygen improvements for the vector module.
  1. Prev
  2. Next