Roberto Ierusalimschy
|
56fb06b6f5
|
"lua_debug" now is exported through debug interface (luadebug.h)
|
29 years ago |
Roberto Ierusalimschy
|
995a9f7188
|
no more "Bool" type
|
29 years ago |
Roberto Ierusalimschy
|
a0ef046ef1
|
elimination of unused declarations (left from old modifications)
|
29 years ago |
Roberto Ierusalimschy
|
5fa51fc426
|
new option "q" in function "write", to write literal strings.
|
29 years ago |
Roberto Ierusalimschy
|
15057aa0a4
|
new examples showing data structures and object-oriented programming.
generic improvements and corrections.
|
29 years ago |
Roberto Ierusalimschy
|
1431b52e76
|
improve of compiling error messages.
|
29 years ago |
Roberto Ierusalimschy
|
98fe770cab
|
small bug
|
29 years ago |
Roberto Ierusalimschy
|
43382ce5a2
|
new fallback "getglobal".
|
29 years ago |
Roberto Ierusalimschy
|
abfebf1e21
|
new example showing how to build modules.
|
29 years ago |
Roberto Ierusalimschy
|
b1c02c7f00
|
new fallback "getglobal".
modifications to generate an index (not automatically yet).
|
29 years ago |
Roberto Ierusalimschy
|
84df3ac267
|
new functions "tostring", "assert", and "format".
|
29 years ago |
Roberto Ierusalimschy
|
55a70c9719
|
"read('s')" was "eating" delimiter.
|
29 years ago |
Roberto Ierusalimschy
|
0d50b87aa4
|
lua_table now has references to global variable names (TreeNode's).
|
29 years ago |
Roberto Ierusalimschy
|
19290a8e92
|
"dofile" issues an error when called with non string arguments, and
runs stdin when called without arguments.
|
29 years ago |
Roberto Ierusalimschy
|
d845963349
|
"setglobal" and "getglobal" moved to inout.c, as it concentrates pre-defined
library.
new function "assert".
|
29 years ago |
Roberto Ierusalimschy
|
8dae4657a1
|
"setglobal" and "getglobal" moved to inout.c, as it concentrates pre-defined
library.
|
29 years ago |
Roberto Ierusalimschy
|
ca7be1cfeb
|
elimination of function "int2str", as it can be replaced by "format('%c', .)"
|
29 years ago |
Roberto Ierusalimschy
|
445872a6e2
|
"dofile" does not issue a warning when unable to open the file,
but only returns an error code.
|
29 years ago |
Roberto Ierusalimschy
|
3681d025ac
|
new function "assert"
|
29 years ago |
Roberto Ierusalimschy
|
2998049f51
|
local variable stack needs only the name of the variable (TreeNode);
this way is simpler and faster than old way.
|
29 years ago |
Roberto Ierusalimschy
|
24ccc7c038
|
correction of some order dependencies in debug code.
|
29 years ago |
Roberto Ierusalimschy
|
be48c4d91e
|
add_char now is global.
time returns week-day.
|
29 years ago |
Roberto Ierusalimschy
|
a19f9056f3
|
new function "tostring".
|
29 years ago |
Roberto Ierusalimschy
|
5b71ab780c
|
add_char now is global.
new function format.
|
29 years ago |
Roberto Ierusalimschy
|
481bafd581
|
add_char now is global.
|
29 years ago |
Roberto Ierusalimschy
|
e74b250d71
|
memory overflow tries a garbage collection; if it fails then exit the
program.
|
29 years ago |
Roberto Ierusalimschy
|
cd54c95ee1
|
bug: "read" with format MUST read given number of chars (if file ends
before that reports an error, returning nil).
"readuntil" can be called with nil or no parameters to read until EOF.
|
29 years ago |
Roberto Ierusalimschy
|
bf006eeaf5
|
"getobjectname" got a "lua_" prefix.
|
29 years ago |
Roberto Ierusalimschy
|
b2afc410fa
|
hooks for line change and function calls; first version.
|
29 years ago |
Roberto Ierusalimschy
|
19cfa32393
|
correction of dependencies from "luadebug.h".
|
29 years ago |
Roberto Ierusalimschy
|
27ae8432b6
|
names generated by yacc (starting with "yy") are changed to start with
"luaY_", to avoid name clashes with hosts using yacc.
|
29 years ago |
Roberto Ierusalimschy
|
415ee250b5
|
bug: luaI_findconstantbyname may change the value of lua_constant.
|
29 years ago |
Roberto Ierusalimschy
|
f188e1000b
|
useless "#include math.h"
|
29 years ago |
Roberto Ierusalimschy
|
07d64e78b6
|
reference manual
|
29 years ago |
Roberto Ierusalimschy
|
fa649fbc26
|
new distribution
|
29 years ago |
Roberto Ierusalimschy
|
0c3e0fd95d
|
"read" must return 'nil' on EOF.
|
29 years ago |
Roberto Ierusalimschy
|
3bb6443131
|
changes to improve portability
|
29 years ago |
Roberto Ierusalimschy
|
f57afd6e32
|
re-implementation of functions "write" and "read"
|
29 years ago |
Roberto Ierusalimschy
|
5f664a4516
|
error functions are shared by all libraries
|
29 years ago |
Roberto Ierusalimschy
|
87fe07c0d4
|
little improvement
|
29 years ago |
Roberto Ierusalimschy
|
f9a9bd77e4
|
print_stack now gets a parameter (file to print);
small changes.
|
29 years ago |
Roberto Ierusalimschy
|
63b8a6fd20
|
"getobjname" checks first fallbacks (so, if a function is global and
a fallback, it is reported as a fallback).
|
29 years ago |
Roberto Ierusalimschy
|
024f2374ab
|
"AUTHORS" separated from COPYRIGHT.
|
29 years ago |
Roberto Ierusalimschy
|
9d9f9c48ff
|
local variables may appear inside blocks in main code.
|
29 years ago |
Roberto Ierusalimschy
|
15d48576ea
|
functions now may be declared with any "var" as a name;
therefore they do not have a "baptism" name.
Changes in debug API to acomodate that.
|
29 years ago |
Roberto Ierusalimschy
|
39b071f7b1
|
new syntax for function declarations: "function a.x () ... "
new semantics for function declarations: function f () is valid only
at run-time.
|
29 years ago |
Roberto Ierusalimschy
|
9efc257d9d
|
new method to keep debug line information: current line is stored on the
Lua stack, just below (new) base, with tag LUA_T_LINE.
SETLINE opcodes are generated by lex.
|
29 years ago |
Roberto Ierusalimschy
|
fa71304e54
|
"dofile" now accepts NULL as parameter, to run stdin.
|
29 years ago |
Roberto Ierusalimschy
|
b5745d11cd
|
uses "isatty" to check if executes stdin line by line or as a file.
|
29 years ago |
Roberto Ierusalimschy
|
ebcf546a55
|
small changes in the format of debug information.
|
29 years ago |