2008-07-21
Yueliang + LuLu 完整的LuaInLua系统
关键字: yueliang lulu
Yueliang: http://yueliang.luaforge.net/
Introduction
The goal of Yueliang is to implement Lua 5 in Lua 5. Such a codebase, if well documented, can be a useful prototyping and educational tool. Initially, the focus is on the front end of Lua, i.e. the lexical analyzer, the parser and the code generator, in order to generate binary chunks. A port of the back end (the VM) is being considered. Yueliang is moon in Mandarin.
LuLu: http://luaforge.net/projects/lulu/
LuLu is a Lua 5.1 VM implementation in Lua language itself. It aims to be a concise, easily readable, and customizable LuaVM implemantation.
2者都是用lua语言实现的 一个实现了前端lex parser code, 一个实现了vm, 结合起来就是一个完整的lua in lua.
实现思路很有意思,代码及其紧凑。
Introduction
The goal of Yueliang is to implement Lua 5 in Lua 5. Such a codebase, if well documented, can be a useful prototyping and educational tool. Initially, the focus is on the front end of Lua, i.e. the lexical analyzer, the parser and the code generator, in order to generate binary chunks. A port of the back end (the VM) is being considered. Yueliang is moon in Mandarin.
LuLu: http://luaforge.net/projects/lulu/
LuLu is a Lua 5.1 VM implementation in Lua language itself. It aims to be a concise, easily readable, and customizable LuaVM implemantation.
2者都是用lua语言实现的 一个实现了前端lex parser code, 一个实现了vm, 结合起来就是一个完整的lua in lua.
实现思路很有意思,代码及其紧凑。
评论
mryufeng
2008-07-21
lua用途很广的 我主要用于服务器 可以参看mysql-proxy项目 可以并发达到C10K
laitaogood
2008-07-21
lua 好象是开发游戏的吧
据说魔兽世界就是LUA做的哈?
据说魔兽世界就是LUA做的哈?
发表评论
- 浏览: 71940 次
- 性别:

- 来自: 广州

- 详细资料
搜索本博客
最近加入圈子
链接
最新评论
-
tail程序 c版本和lua版本 ...
不错,有点意思,支持一下楼主
-- by liuming -
tail程序 c版本和lua版本 ...
[root@test98 haproxy]# ls -lh /var/log/h ...
-- by mryufeng -
tail程序 c版本和lua版本 ...
把/var/log/haproxy.log拷三份来测比较准吧
-- by Sam1860 -
tail程序 c版本和lua版本 ...
算法基本一样, lua重复利用现有的c native 实现, c程序大概是lua ...
-- by mryufeng -
tail程序 c版本和lua版本 ...
你俩个算法都不一样比较啥啊?
-- by makefile






评论排行榜