Roberto Ierusalimschy
|
23f0ff9517
lots of janitor work (including comments) + 'arg' table created
|
11 жил өмнө |
Roberto Ierusalimschy
|
c6c41e85b2
more uniformity for defining system-dependent features
|
11 жил өмнө |
Roberto Ierusalimschy
|
1721d09ac8
still accepts initial '=' for expressions, for compatibility with old
|
11 жил өмнө |
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 жил өмнө |