103 Commits (5ef1989c4b05aff8362a7ea6ba62aad76d4a040d)

Author SHA1 Message Date
Roberto Ierusalimschy 29b7b8e52c better error messages for wrong tokens 27 years ago
Roberto Ierusalimschy f0dffaa209 new way to hanlde arg information 27 years ago
Roberto Ierusalimschy 77a6836fef we don't need a type "Word". 27 years ago
Roberto Ierusalimschy f76bca23ef variants for "ARGS". 27 years ago
Roberto Ierusalimschy 4e0bf95622 variant opcodes for PUSHSELF 27 years ago
Roberto Ierusalimschy 498a934abf new syntax possibilities: f(x).x, etc; on the other hand, 27 years ago
Roberto Ierusalimschy ce53872684 new syntax: f´s´ for f(´s´). 27 years ago
Roberto Ierusalimschy da96eb2cce some details related to OLD_ANSI 27 years ago
Roberto Ierusalimschy 541e722360 details 27 years ago
Roberto Ierusalimschy 03f3f9e707 "zio" now keeps its "name". 27 years ago
Roberto Ierusalimschy 22439a7511 new syntax for constructors (a={n=3;1,2,3}). 27 years ago
Roberto Ierusalimschy 45e533599f optimization: closures without upvalues don't need to be closures 27 years ago
Roberto Ierusalimschy c759520bc8 safer way to put #defines in error messages... 27 years ago
Roberto Ierusalimschy 80b3d28f4a details (mainly error messages) 27 years ago
Roberto Ierusalimschy 525a91fed3 BUG: "lastline" was not reset on function entry, so debug information 27 years ago
Roberto Ierusalimschy accd7bc253 small modifications (format, small optimizations, etc) 27 years ago
Roberto Ierusalimschy 592a3f289b first implementation of centralized global state. 27 years ago
Roberto Ierusalimschy 92791b9dd6 small details 27 years ago
Roberto Ierusalimschy f8c95fa9e8 new "block" syntax (DO ... END) 27 years ago
Roberto Ierusalimschy 9c965d0ffb more precise error messages for compiler limits. 27 years ago
Roberto Ierusalimschy 18cd7adac6 optimization to handle <a.x> (new opcode). 27 years ago
Roberto Ierusalimschy e78cf96c97 first version of Cclosures. 27 years ago
Roberto Ierusalimschy 81489beea1 functions may use many upvalues, to keep global values. 27 years ago
Roberto Ierusalimschy 45ccb0e881 "nupvalues" is kept in Closure, not in prototype (as a preparation 27 years ago
Roberto Ierusalimschy 4be18fa889 details 27 years ago
Roberto Ierusalimschy 7c261a13b5 more uniform treatment to opcode variants. 27 years ago
Roberto Ierusalimschy f6a9cc9a67 jumps are relative to next instruction 27 years ago
Roberto Ierusalimschy 28d47a0aaa all jumps have byte variants; WHILE optimization 27 years ago
Roberto Ierusalimschy a580480b07 new implementation for globals: Global value is stored in TaggedString 28 years ago
Roberto Ierusalimschy 0dd6d1080e new opcode variants. 28 years ago
Roberto Ierusalimschy d6c867ea50 better way to cope with opcode variants 28 years ago
Roberto Ierusalimschy 2079cfe8fa new way to code globals, using const table instead of putting global 28 years ago
Roberto Ierusalimschy dfe03c7abe small optimizations (bit scrubbing) 28 years ago
Roberto Ierusalimschy 8cd67ac676 Syntax analizer and code generator 28 years ago
Roberto Ierusalimschy dd1aa28390 small optimization in opcodes for "and" and "or" 28 years ago
Roberto Ierusalimschy abbf14cd32 small optimizations; try to find previous use when coding a real constant. 28 years ago
Roberto Ierusalimschy 0892f0e5b7 BIG CHANGE: functions have their own "constant table". 28 years ago
Roberto Ierusalimschy 2c580a0afb new way to handle global state during compilation. 28 years ago
Roberto Ierusalimschy a38f093f05 luaI_initTFunc initializes fileName. 28 years ago
Roberto Ierusalimschy 373363cb69 new name for old "mem.h" (conflicts with some compiler libraries) 28 years ago
Roberto Ierusalimschy b8af9c56c9 new form for constructors: {[exp] = exp, ...} 28 years ago
Roberto Ierusalimschy 0b110f7922 small syntax error (yacc does not complain, but bison does). 28 years ago
Roberto Ierusalimschy 1143bf9286 better check when converting from float to int, to avoid overflow 28 years ago
Roberto Ierusalimschy f00d692445 small correction to avoid "wrong" default action 28 years ago
Roberto Ierusalimschy a0e9bfbb48 syntax error function is in "lex.c" (it has the token) 28 years ago
Roberto Ierusalimschy 0af581f0bf new way to handle pragmas (at the lexical level, instead of parsing). 29 years ago
Roberto Ierusalimschy 7b8166d7b3 a chunk may end with a return. 29 years ago
Roberto Ierusalimschy 7614b17e85 very small corrections 29 years ago
Roberto Ierusalimschy 9863223fbf first version of vararg facility (plus new function "call"). 29 years ago
Roberto Ierusalimschy 9284742a11 better control when growing arrays. 29 years ago