Skip to content

hGriff0n/luaStream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

luaStream is a way to interact with lua using a ostream-esque syntax Objects are inserted onto the lua stack using << and extracted using >> The stack size is increased (pushnil) with ++ and decreased with -- (remove) The internal lua_State can be accessed with the * operator

Also provided are: A c++ class wrapper around lua_State (lua::luaState) A templated debug class for pushing debug info to various screens/files (lua::debug) A templated abstract class for stream manipulators (baseManip) Three luastream manipulator classes for 0,1 and 2 arguments (lua:: lnManip,lManip,ldManip) A templated class for loading c++ class into lua (lua::Lunar) An error class for exception handling (lua::error) Various helper functions

note: Except for baseManip, everything is exported under the lua namespace or has a lua(L/C/?)_ prefix

Use as you see fit. Please send all changes, ideas, or corrections back to me.

About

Stream system for interacting with lua

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published