Roberto Ierusalimschy
|
28b3017baf
|
lua function "type" now returns the string "function" both for lua
functions and c functions.
|
30 years ago |
Roberto Ierusalimschy
|
ae808860ae
|
new functions: "ascii" and "int2str",
small "re-engineering" on parameter checking.
|
30 years ago |
Roberto Ierusalimschy
|
a47e8c7dd0
|
small "re-engineering" on parameter checking.
correction of function "atan2".
|
30 years ago |
Roberto Ierusalimschy
|
79ce619876
|
new command line options: -v to print Copyright message, and
- to read stdin.
|
30 years ago |
Roberto Ierusalimschy
|
233f0b0cc7
|
definitions for Copyright and version notices
|
30 years ago |
Roberto Ierusalimschy
|
025589f772
|
nova forma de comentarios: de '#' ate' fim de linha (para uso de lua
como shell)
|
30 years ago |
Roberto Ierusalimschy
|
68f337dfa6
|
Garbage collection of functions + header structure for functions
|
30 years ago |
Roberto Ierusalimschy
|
f132ac03bc
|
Module to manipulate function headers.
|
30 years ago |
Roberto Ierusalimschy
|
ec785a1d65
|
new option for "writeto" and "readfrom", to allow piped I/O on
machines that support it.
|
30 years ago |
Roberto Ierusalimschy
|
e0621e6115
|
new function "atan2".
|
30 years ago |
Roberto Ierusalimschy
|
38411aa102
|
small correction to avoid problems with DOS/Windows
|
30 years ago |
Roberto Ierusalimschy
|
3ec4f4eb86
|
small corrections to avoid warnings.
|
30 years ago |
Roberto Ierusalimschy
|
367139c6d9
|
buffer for literals now grows dynamically, allowing big programs between [[ and ]].
|
30 years ago |
Roberto Ierusalimschy
|
457bac94ce
|
small corrections to avoid uninitialized global variables.
|
30 years ago |
Roberto Ierusalimschy
|
bcf46ee83b
|
new syntax for strings: [[ ... ]]. Still in tests,
since the code does not check buffer overflow.
|
30 years ago |
Roberto Ierusalimschy
|
97b2fd1ba1
|
syntax for {...;...} is more flexible now.
|
30 years ago |
Waldemar Celes
|
e13753e2fb
|
Ajustar limites para garbage collection.
|
30 years ago |
Roberto Ierusalimschy
|
ec79f25286
|
new lua function "getstack"; new interface to function luaI_reportbug.
|
30 years ago |
Roberto Ierusalimschy
|
18ea2eff80
|
calls to "lua_reportbug" changed to "lua_error", since
"lua_reportbug" is only an internal function to build debug information
|
30 years ago |
Waldemar Celes
|
8156604823
|
run-time stack now is controled at run time, instead of
compilation time.
|
30 years ago |
Roberto Ierusalimschy
|
36b6fdda83
|
function "type" now returns a second result: the tag of the type,
so lua can discriminate different kinds of user data.
|
30 years ago |
Waldemar Celes
|
3c67d2595b
|
error message buffer got a bigger size
|
30 years ago |
Roberto Ierusalimschy
|
2043a0ca30
|
adjust checks if stack has enough space
|
30 years ago |
Luiz Henrique de Figueiredo
|
0761c4c036
|
included string.h
|
30 years ago |
Roberto Ierusalimschy
|
2d053126e6
|
new function for copy strings (strdup is not ANSI)
|
30 years ago |
Roberto Ierusalimschy
|
3203460c9e
|
better approximation for PI
|
30 years ago |
Roberto Ierusalimschy
|
bb00cd66a7
|
function "stat" needs "sys/types.h"
|
30 years ago |
Roberto Ierusalimschy
|
7c342c488e
|
header "stdlib.h" was missing (gcc does not warn that)
|
30 years ago |
Roberto Ierusalimschy
|
b36cd823b1
|
header "string.h" was missing (gcc does not warn that)
|
30 years ago |
Roberto Ierusalimschy
|
cda444d7f4
|
type names changed to avoid clashes
|
30 years ago |
Roberto Ierusalimschy
|
dd28b830e9
|
a null lua_Object is LUA_NOOBJECT, not NULL.
|
30 years ago |
Roberto Ierusalimschy
|
572ee14b52
|
use yacc++ instead of yacc.
|
30 years ago |
Roberto Ierusalimschy
|
6198626138
|
libs should not use Lua internal functions (like mem.h).
a null lua_Object is LUA_NOOBJECT, not NULL.
|
30 years ago |
Waldemar Celes
|
8795aab83e
|
new API function lua_pushlocked & lua_checkstack is a macro
|
30 years ago |
Waldemar Celes
|
f83db16cab
|
new API function lua_pushlocked
|
30 years ago |
Waldemar Celes
|
6e0e9935ec
|
trocar a funcao para garbage colector adaptativo.
|
30 years ago |
Waldemar Celes
|
97053335fb
|
Trocar 'pushstring' por 'pushliteral' na macro 'getfield'.
|
30 years ago |
Roberto Ierusalimschy
|
f4591397da
|
strdup is done via mem.c to control its memory allocation
|
30 years ago |
Roberto Ierusalimschy
|
8faf4d1de2
|
control of garbage collection is done with Longs, as there can be
more than WORD objects to collect.
|
30 years ago |
Roberto Ierusalimschy
|
53c0a0f43c
|
function 'strfind' now has two optional parameters, to specify where
to start and stop the search.
|
30 years ago |
Roberto Ierusalimschy
|
ad97e9ccbc
|
small bug in fallback for power operator
|
30 years ago |
Waldemar Celes
|
e4c69cf917
|
correcao de bug na construcao do formato.
|
30 years ago |
Roberto Ierusalimschy
|
5b8ced84b4
|
stack is indexed by integers, not Words, to allow bigger stack on 32 bit machines
|
30 years ago |
Roberto Ierusalimschy
|
df3a81ec88
|
functions that no more return error codes now have return type void
|
30 years ago |
Waldemar Celes
|
b8e76d9b5c
|
'lua_getsubscript' and 'lua_storesubscript' now run unprotected (to improve efficiency)
|
30 years ago |
Waldemar Celes
|
dc97a07e19
|
better names for 'y.tab.c' and 'y.tab.h' (now they are moved to 'parser.c' and 'parser.h')
|
30 years ago |
Waldemar Celes
|
4dce79f7e3
|
uses 'limits.h' for MAX_WORD and MAX_INT
|
30 years ago |
Waldemar Celes
|
a8220feed2
|
bytecodes are indexed by integers, not Words, to allow bigger code on 32 bit machines
|
30 years ago |
Waldemar Celes
|
8bc4b0d741
|
routines are defined before rules, to allow correct compilation with bison
|
30 years ago |
Roberto Ierusalimschy
|
96b2b90c50
|
new file 'types.h'
|
30 years ago |