Releases: ClueLang/Clue
Version 1.1.0
- Clue now uses SemVer-like versioning
- Added MIT license
- Added
--license
flag - Strings can now be made with
'
- Added
%=
and:=
- Improved Compiler
- Function arguments' default values are now compiled in a more readable way
- Table elements now have debug comments
- Improved table parsing
Version 1.0.97
- Improved and fixed parser
- Improved compiler
- Compiling is now timed
- Lines in error messages are no longer inside "[]"
- Arguments are now parsed with the
clap
crate - Renamed
--printout
to--output
- Added
--rawsetglobals
and-nodebugcomments
flags - The output file can now have a custom name
return;
now doesn't compile toreturn nil;
function
is no longer a keyword,fn
must be used instead- Added local, global and static enums
- Added static functions
- Added try catch blocks
- Added
?[
- Custom require function renamed to
import
- Added true ternary
- Renamed
--nojitbit
to--jitbit
- Clue can now use LuaJIT's bit library for bitwise operations
- Added debug comments
Version b2.0.86
- Improved parser
- Pseudo variables now don't crash with invalid numbers (like 1.3 or 0xFF)
- PGet is now deprecated
- Added ?. and ?:: for conditional indexing
- Multiple files are now compiled in a single file
- Added custom require function and cacher for loading other Clue files
this
is no longer a keyword (no need for it to be)- Added static variables
- Added
static
keyword for "static" variables
Version b1.1.77
+Added METHOD
keyword and made it compilable
*return
now doesn't need to have an expression after it
+DO_BLOCK
ComplexTokens are now compilable
+Elseif chains are now compilable
*Identifiers can now have _ in their name
*Fixed [] parsing when parsing identifiers
*Hexadeciamal numbers can now be used
*Compile flags (-struct
, ecc) are now read once and then stored instead of reread every check
+Added -printout
, -pathiscode
, -nojitbit
and -continue
compile flags
Version b1.0.73
+FUNCTION
ComplexToken fixed and compilable
+LAMBDA
ComplexToken fixed and compilable
+VARIABLE
ComplexTokens are now better parsed and better compiled
+Compiled code is now readable
*Fixed NOT_EQUAL
compiling to !=
instead of ~=
-Removed -blua
flag's description
+WHILE_LOOP
ComplexToken fixed and compilable
+CONTINUE_LOOP
ComplexTokens are now compilable
+BREAK_LOOP
ComplexTokens are now compilable
-SYMBOL
ComplexTokens don't have a line member anymore
*Fixed loop loops not being able to be parsed
*NOT
ComplexTokens are now better parsed
+FOR_LOOP
ComplexTokens are now compilable
+FOR_FUNC_LOOP
ComplexTokens are now compilable
Version a1.3.63
+PSEUDO
ComplexTokens are now compiled
*Improved spacing
+CALL
ComplexTokens are now compiled
+TABLE
ComplexTokens are now fixed and compiled
*SYMBOL
ComplexTokens are now also compiled in code blocks
Version a1.2.60
+First release, so everything is a new feature