clementfarabet / lua---inline-c Goto Github PK
View Code? Open in Web Editor NEWAn Inline C package for Lua
An Inline C package for Lua
The line 324
parsed = parsed:gsub('#BODY#', code)
causes problems if the code has a % in it such as with printf statements.
require 'inline'
test = inline.load [[
int number = 2;
printf("%1d\n", number);
]]
test()
This prints #BODY#d instead of 2.
Sorry, I have a problem with inline module. I have installed it with in /usr/local/ and when I try to require it from th I get this error:
/usr/local/share/lua/5.1/inline/init.lua:120: attempt to concatenate local 'path' (a nil value)
stack traceback:
/usr/local/share/lua/5.1/inline/init.lua:120: in function 'includepaths'
/usr/local/share/lua/5.1/inline/init.lua:129: in function 'default_includepaths'
/usr/local/share/lua/5.1/inline/init.lua:248: in function 'default_all'
/usr/local/share/lua/5.1/inline/init.lua:256: in main chunk
[C]: in function 'f'
[string "local f = function() return require 'inline' ..."]:1: in main chunk
[C]: in function 'xpcall'
/usr/local/share/lua/5.1/trepl/init.lua:553: in function </usr/local/share/lua/5.1/trepl/init.lua:489>
what could it be ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.