summaryrefslogtreecommitdiff
path: root/lua.stx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* local variables may appear inside blocks in main code.Roberto Ierusalimschy1995-10-261-3/+1
|
* functions now may be declared with any "var" as a name;Roberto Ierusalimschy1995-10-261-64/+60
| | | | | therefore they do not have a "baptism" name. Changes in debug API to acomodate that.
* new syntax for function declarations: "function a.x () ... "Roberto Ierusalimschy1995-10-251-19/+16
| | | | | new semantics for function declarations: function f () is valid only at run-time.
* new method to keep debug line information: current line is stored on theRoberto Ierusalimschy1995-10-251-89/+125
| | | | | Lua stack, just below (new) base, with tag LUA_T_LINE. SETLINE opcodes are generated by lex.
* new style for debug information about functions: no more SETFUNCTIONRoberto Ierusalimschy1995-10-171-22/+13
| | | | | | | | opcodes. When a function is called, its entry in the stack is marked with LUA_T_(C)MARK, so function 'luaD_stackedfunction' can find it if needed. Functions now have their file names in the headers, so there is no need of 'addfile' and the like.
* Garbage collection of functions + header structure for functionsRoberto Ierusalimschy1995-10-041-13/+18
|
* syntax for {...;...} is more flexible now.Roberto Ierusalimschy1995-06-081-10/+21
|
* run-time stack now is controled at run time, instead ofWaldemar Celes1995-04-111-22/+28
| | | | compilation time.
* strdup is done via mem.c to control its memory allocationRoberto Ierusalimschy1995-01-141-2/+2
|
* bytecodes are indexed by integers, not Words, to allow bigger code on 32 bit ↵Waldemar Celes1994-12-271-10/+8
| | | | machines
* routines are defined before rules, to allow correct compilation with bisonWaldemar Celes1994-12-271-185/+184
|
* better control of integer types and their limitsRoberto Ierusalimschy1994-12-201-8/+12
|
* opcode PUSHSELF has a parameter that indicates the method to be calledRoberto Ierusalimschy1994-12-061-4/+11
|
* erased function yywrap (nobody used it)Roberto Ierusalimschy1994-11-251-6/+1
|
* modifications to avoid warnings when compiling yacc codeRoberto Ierusalimschy1994-11-231-3/+11
|
* no more unary '+'Roberto Ierusalimschy1994-11-221-2/+1
|
* small bug correctedRoberto Ierusalimschy1994-11-171-7/+7
|
* listing did not list POWOPRoberto Ierusalimschy1994-11-171-2/+3
|
* uses new memory module (mem.c).Roberto Ierusalimschy1994-11-171-65/+36
| | | | | small changes in seting debug line. if and elseif unified in a outine 'codeIf'
* unification of symbol tree and constant treeRoberto Ierusalimschy1994-11-141-80/+61
|
* small changes to avoid shadowingRoberto Ierusalimschy1994-11-131-11/+11
|
* because lua_error does a longjmp, there is no need to a variableRoberto Ierusalimschy1994-11-091-69/+36
| | | | | | | 'err'. lua_parse has a different interface, to allow the free of the main block even if compilation fails. small changes in the debug system.
* new opcodes for '>' and '>='Roberto Ierusalimschy1994-11-061-3/+3
|
* RESET is generated at codereturn.Roberto Ierusalimschy1994-11-031-4/+2
|
* new way to call functions, plus several small changes. This isRoberto Ierusalimschy1994-11-021-85/+105
| | | | a temporary version!
* CREATEARRAY now has an argument, the size of the array to create.Roberto Ierusalimschy1994-11-011-5/+11
|
* deletion of 'include mm.h'Roberto Ierusalimschy1994-10-211-3/+1
|
* power operator (^).Waldemar Celes1994-10-171-50/+37
| | | | | | no more contructors (@). methods can be called on indexed variables. fixed debuging information.
* Correcao do tratamento de erro reportado dentro de uma funcao.Waldemar Celes1994-10-111-2/+2
|
* Mudancas na sintaxe para a versao 2.0. Igual relacional passaWaldemar Celes1994-10-111-62/+42
| | | | | | | a ser ==, tiramos o colchete na criacao de tabelas usando apenas chaves (podendo fazer inicializacao mista). O caracter @ so' deve estar presente quando se tem construtores associados. /
* Implementacao da definicao e chamada de METODOS.Waldemar Celes1994-08-051-30/+125
|
* Implementacao de funcoes para tratar Lua function em C eWaldemar Celes1994-08-031-4/+10
| | | | correcoes de bugs nas tabelas dinamicas.
* Uso de arvores binarias para armazenar nomes e realocacao dinamicaWaldemar Celes1994-07-191-24/+25
| | | | de tabelas (pilhas, hashtable, globais, codigo, etc.)
* Alteracao do tipo da variavel "pc" na compilacao, passandoWaldemar Celes1994-04-201-47/+39
| | | | a ser indice e nao mais ponteiro.
* Nova estrategia de alocacao de buffers para codigo intermediario.Waldemar Celes1994-04-191-52/+95
|
* Correcao da funcao PrintCodeWaldemar Celes1994-04-151-5/+28
|
* O token NAME deixa de estar associado a um indice da tabela deWaldemar Celes1994-04-151-23/+51
| | | | | simbolos e passa a conter o ponteiro da string yytext. Recebido o token NAME, decide-se entre um simbolo ou uma constante.
* Alteracao para retirar codificacao de NOP's, substituindoWaldemar Celes1994-04-131-76/+112
| | | | | | | | pela utilizacao de "union" com "chars" para codificar Word e float. Observa-se que foram realizados testes antes da alteracao e constatou-se que do bytecode anteriormente gerado, NOP representava de 10 a 13% do total de bytes do codigo. Esta percentagem chegava ate' a 20% na caso de descricao de metafile utilizando Lua.
* Acrescentar o gerenciador de memoria "mm" e corrigir um bug poisWaldemar Celes1994-03-281-2/+4
| | | | no novo "lex" o token FUNCTION nao tem valor associado.
* otimizacao do codigo para construtores.Roberto Ierusalimschy1994-02-131-58/+115
| | | | correcao do tamanho do buffer de codigo.
* correcao de bug em constantes (rotina code_number) entreRoberto Ierusalimschy1993-12-281-3/+3
| | | | 2 bytes e 4 bytes.
* criacao do token WRONGTOKEN, necessario para o novo analizador lexicoRoberto Ierusalimschy1993-12-221-1/+2
|
* LUA YACC syntax and semanticsWaldemar Celes1993-12-171-0/+771