Roberto Ierusalimschy
|
1a19893d6f
new "calculator mode"; no need to add '=' to print expressions
|
11 年之前 |
Roberto Ierusalimschy
|
c5fcba1a17
detail (changing some names of macros)
|
11 年之前 |
Roberto Ierusalimschy
|
ab7086e209
pops the string from 'get_prompt' only after using it
|
13 年之前 |
Roberto Ierusalimschy
|
054c20cd5b
spaces -> tabs in #defines
|
13 年之前 |
Roberto Ierusalimschy
|
4cca1a436d
details (using lua_setglobal/lua_getglobal instead of explicit
|
13 年之前 |
Roberto Ierusalimschy
|
e2fc2ce8df
new way to handle -E option (write a mark in the registry to avoid
|
13 年之前 |
Roberto Ierusalimschy
|
166dd0261a
new option '-E' to avoid environment variables
|
14 年之前 |
Roberto Ierusalimschy
|
6a5d89b39f
detail (using array instead of several variables to keep track of
|
14 年之前 |
Roberto Ierusalimschy
|
beab626061
correct length for LUA_COPYRIGHT (without trailing '\0')
|
14 年之前 |
Roberto Ierusalimschy
|
ee7d0c2649
new macro 'luai_writeline' to print newlines (and flush 'stdout')
|
14 年之前 |
Roberto Ierusalimschy
|
ad2531a0ee
more complete (and hopefuly more correct) handling of 'sizeof(char)'
|
14 年之前 |
Roberto Ierusalimschy
|
682cce3813
macro 'mark' renamed 'EOFMARK' ('mark' is too easy to confict, e.g.
|
14 年之前 |
Roberto Ierusalimschy
|
094a7d0290
detail in 'print_usage'
|
14 年之前 |
Roberto Ierusalimschy
|
ac3afc7cd4
'printf' replaced by 'luai_writestring'
|
14 年之前 |
Roberto Ierusalimschy
|
4590a89b32
corrected warnings from different compilers (mostly casts and small
|
14 年之前 |
Roberto Ierusalimschy
|
a122688091
better error message for 'lua -e -i'
|
15 年之前 |
Roberto Ierusalimschy
|
73b0a3451d
environment variables consulted by Lua may be version-specific
|
15 年之前 |
Roberto Ierusalimschy
|
7631c29b2f
comand-line option '-l' creates global with given name after
|
15 年之前 |
Roberto Ierusalimschy
|
afdb19ac82
no more 'ccall' nor 'cpcall' functions. (With light C functions they
|
15 年之前 |
Roberto Ierusalimschy
|
489253d753
better definitions for lua_[gs]etglobal + less uses of ENVIRONINDEX
|
15 年之前 |
Roberto Ierusalimschy
|
622e448710
removed useless test (argv[i] cannot be NULL when i<argc)
|
15 年之前 |
Roberto Ierusalimschy
|
4274738e81
new macro 'luai_writestringerror'
|
15 年之前 |
Roberto Ierusalimschy
|
0d7d559dcc
no need to flush either stderr or \n-terminated outputs
|
15 年之前 |
Roberto Ierusalimschy
|
a838b3b496
better usage messages, showing entire offending argument
|
15 年之前 |
Roberto Ierusalimschy
|
4f5f2fe367
new function 'luaL_cpcall'
|
15 年之前 |
Roberto Ierusalimschy
|
c8ab34ab7a
better messages for invalid options
|
15 年之前 |
Roberto Ierusalimschy
|
cc1cbd19a0
'lua_cpcall' is deprecated + other small changes in 'pmain' (comments
|
15 年之前 |
Roberto Ierusalimschy
|
f84b575cfa
no more pseudoindex LUA_GLOBALSINDEX; global table now accessible
|
15 年之前 |
Roberto Ierusalimschy
|
c3a6f3fa1c
'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'
|
15 年之前 |
Roberto Ierusalimschy
|
adc6a4865b
macro name change: LUA_INIT->LUA_INIT_VAR
|
15 年之前 |