xuxin19
3d8dc5dce5
cmake:implement CMake build for NuttX Lua interpreter
...
add CMake module for register lua mod
nsh> lua
Lua 5.4.0 Copyright (C) 1994-2020 Lua.org, PUC-Rio
> hello.say_hello()
Hello World!
> io.write("abs is =",math.abs(-10),"\n")
abs is =10
> os.exit()
nsh>
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2024-09-13 12:31:10 +08:00
chao an
929f1009c7
system/readline: correct the readline(3) prototype
...
Reference:
https://man.openbsd.org/readline.3
Signed-off-by: chao an <anchao@xiaomi.com>
2023-10-16 22:04:18 +08:00
Xu Xingliang
f32aa2df59
lua: download tarball from github release tag
...
The tarball from github has same file layout as git repo while the tarball from ftp doesn't.
Update Makefile to accommodate this change.
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-03-21 20:38:29 -03:00
Neo Xu
6725d481b2
interpreters/lua: fix unpack on incremental build
...
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2022-12-21 17:48:29 +08:00
Xu Xingliang
167672c783
interpreters/lua: support lua module list register
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2022-12-21 17:48:13 +08:00
yinshengkai
ee4d8b738f
Makefile: replace INCDIR to INCDIR_PREFIX
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-11-10 02:38:58 +08:00
yinshengkai
2c3c2edcb7
Makefile: Remove INCDIROPT
...
This option, which resolves to -w when CONFIG_CYGWIN_WINTOOL is
configured, is now appended to INCDIR in tools/Config.mk.
See git commit # 5eae32577e5d5226e5d3027c169eeb369f83f77d in the main
2022-10-25 13:48:16 +08:00
Huang Qi
2e2630e838
Don't download tarballs if a local git repo found
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-08-28 17:20:47 +08:00
Michael Mogenson
4043522daf
interpreters: lua: replace awk command with shell script
2022-03-24 00:18:28 +08:00
Michael Mogenson
87df63d367
interpreters: add Lua support
2022-03-21 13:49:42 +08:00