Releases: LorettaDevs/Loretta
Releases · LorettaDevs/Loretta
v0.2.2
Changes:
- Only store
IScope
s that directly reference aIVariable
in theIVariable.ReferencingScopes
; - Move
CapturedVariables
toIFunctionScope
as it is not applicable to non-function scopes; - Add
ReferencedVariables
toIScope
with allIVariable
s referenced by the scope and its children; - Updated the README with instructions and documentation on v0.2.
v0.2.1
Changes:
- Implement 5.3 bitwise operators along with
LuaSyntaxOptions
setting for erroring on them; - Implement a warning about
\n\r
being used as it is recognized as a single line break by Lua; - Amortize allocations made by string parsing.
v0.2.0
Changes:
Everything.
v0.1.6
Changes:
- Fixes number parsing so that
0X1
,0O1
and0B1
don't error.
v0.1.5
Changes:
- [Breaking] Made
VisitCompoundAssignment
andVisitEmptyStatement
virtual inTreeWalkerBase
.
v0.1.4
This release is a bugfix release with a few breaking changes.
Changes:
- [Breaking] Make
Scope
store variables in a way that allows more than one variable with the same name; - Add a new
Scope.FindMethod
which forces a new variable to always be created; - [Breaking] Changed
LuaParser.ParseIdentifierExpression
to accept aScope.FindMode
instead of abool
; - [Breaking] Made new
Variable
s always be created in the following cases:- For the variable names of a
LocalVariableDeclarationStatement
; - For the name of a local function;
- For the iteration variables of a loop;
- For the arguments of any kind of function declaration.
- For the variable names of a
- [Breaking] Made
LocalVariableDeclarationStatement
do late binding of the identifiers so that identifiers on the right side of the=
don't get assigned the same variables as the one in the left side; - Fixed
AnonymousFunctionExpression.Children
andFunctionDefinitionStatement.Children
so that exceptions don't get thrown when there is a vararg in the arguments; - Fixed
NumericForLoopStatement
parsing so that its scope doesn't get leaked anymore.
v0.1.3
Fix version bump. Version bump ended up incrementing twice instead of once.
v0.1.2
Changelog:
- Fixes a bug in the identifier lexer module that made so that identifiers with numbers were improperly parsed when the LuaJIT identifier rules were disabled.
v0.1.1
Fix Lua 5.2 preset
v0.1.0
Add package info and define this as v0.1.0