GithubHelp home page GithubHelp logo

lua---inline-c's People

Contributors

bmartini avatar clementfarabet avatar jtbates avatar rodrigob avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lua---inline-c's Issues

Code with % is handled incorrectly

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.

can't require 'inline'

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 ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.