telemidia / nclua Goto Github PK
View Code? Open in Web Editor NEWEvent handling and 2D graphics for Lua scripts
License: GNU General Public License v2.0
Event handling and 2D graphics for Lua scripts
License: GNU General Public License v2.0
Some possible options:
--debug: print debugging information;
--load=FILE; load FILE before running the given script;
--plugin=FILE; load and registers FILE as a new event plugin.
If no input file is given, the nclua interpreter should read chunks from stdin.
These could be given via command-line options, environment variables, or a Lua configuration file (~/.nclua).
Cf. nclua/event/http_soup.c.
It would be nice to have a menu bar, status bar, etc., in the standalone interpreter which could be enable/disabled by some command-line option.
We should use ldoc to generate the API documentation.
These problems are indicated in comments in the source code. E.g., the standard establishes that the size of canvas:attrFont()
is given in pixels. This is probably wrong, as most APIs support only point values. We're thus assuming that font-size is given in points.
Update Lua version to a more recent one to enable better usage of luarocks packages. Reported by @danielsm
The nclua_send()
function should check the syntax of its event
parameter.
The disconnect_finished()
function should cancel pending send or receive operations. Otherwise, the "disconnect" event will cause these operations to fail with "Socket closed" error. Currently, to avoid reporting such errors, we check if the socket is connected before dispatching errors.
Currently, the test server understands no application protocol. If we add basic HTTP support to it, e.g., via an --http flag, we could remove the requirement of Internet connection for the HTTP tests.
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.