- fix number parsing to support underscores before
x
in hexadecimal number and beforeb
in binary numbers (#103) - add bundling with path require mode (#97)
- upgrade full-moon parser to 0.18.1 (#100)
- enable stacker feature on full-moon to avoid stack overflows on large input (#109)
- improve
convert_index_to_field
to refactor table entries (#88) - fix
remove_nil_declaration
(#84) - upgrade CLI library (mostly changes the help messages format) (#83)
- add rule to remove compount assignments (#78)
- enhance
remove_unused_if_branch
to process if expressions (#77) - remove possible panic in AST parsing (#74)
- fix large AST parsing issue (#73)
- refactor ParserError into an opaque struct (instead of an enum) (#71)
- refactor darklua frontend (#69):
- the
--config-path
argument of theminify
command was removed - the configuration file does not accept the
column_span
field anymore (use thegenerator
field instead) - darklua can now also read
.luau
files
- the
- update configuration file (!60)
- add rule to remove statements after a do blocks returns early (!59)
- fix readable formatter to put a space after
return
keywords (!58) - fix the
remove_nil_declaration
to also pop commas correctly (!57) - fix bug where filtering statements of a block would panic when there were missing semicolons (!56)
- add rule to remove unnecessary
nil
values in local assignments (!54) - enhance the
compute_expression
rule to remove left side of binaryand
oror
expressions when they always return the right side and they don't have side effects (!53) - add support for if expressions (!51)
- add function to get all valid rule names (!46)
- add
include_functions
property torename_variables
to prevent function name renaming and removegroup_local_assignment
andconvert_local_function_to_assign
from default rules (!44) - add
env
property toinject_global_value
to inject an environment variable value (!43) - fix command line tracing logs for planned work (!42)
- fix extra space generated with retain-lines generator on field expressions (!41)
- enhance the
compute_expression
rule by processing<
,<=
,>
and>=
operators (!40) - enhance the
compute_expression
rule by processing parentheses expressions (!39) - add rule to convert index expression to field expression (!36)
- add logging to time processing steps (!35)
- add rule to remove spaces (!34)
- add rule to remove comments (!33)
- fix block mutations to handle semicolon tokens (!32)
- enhance the
compute_expression
rule by improving the evaluation of binary and unary expressions (!31)
- enhance the
inject_global_value
rule to work also from the global table (_G
) (!30)
- add new generator that retains line numbers (!28)
- add token information to Block (!27)
- add computation of binary expression using concat operator (!25)
- fix bugs with string generation (!26)
- add token information to AST (!24)
- add readable code generator (!13)
- add rule to compute expressions (!12)
- add rule to inject a value into a global variable (!10)
- add rule to remove function call parentheses (!11)
- add rule to convert local functions to local assignments (!4)
- add rule to group local assignment statements (!8)
- add rule to remove unused if branches (!7)
- fix code generation bugs (!9)
- add rule to remove unused while statements (!6)
- add rule to remove method definitions (!5)
- add rule to rename variables (!2)
- add process command and rule to remove empty do statement (!1)
- minify command