Releases: lang-programming/lang-interpreter
1.0.0-beta-09
Lang updates
- [BREAKING CHANGE]: Change var args type constraint syntax (
<varName>{<types>}...instead of<varName>...{<types>}) - [BREAKING CHANGE]: Rename and add combinator functions
- Add basic OOP support (Object type)
- Add
&Maybeclass
Lang module updates
Lang native module updates
- [BREAKING CHANGE]: Remove
LangInterpreterfield from theLangNativeFunctionclass - Add the
nullToLangVoid()method to theLangUtilsclass
WARNING: The Lang programming language specification for v1.0.0 is not finalized. Some breaking changes can still be introduced.
1.0.0-beta-08
Lang updates
- [Breaking Change] Refactor normal and native functions
- [Breaking Change] Remove LangExternalPredefinedObject
- [Breaking Change] Remove LangExternalFunctionObject
WARNING: The Lang programming language specification for v1.0.0 is not finalized. Some breaking changes can still be introduced.
1.0.0-beta-07
Lang updates
- Fix LangNativeFunction implementation
WARNING: The Lang programming language specification for v1.0.0 is not finalized. Some breaking changes can still be introduced.
1.0.0-beta-05
Lang updates
- Add Lang Native Function support for Lang Native Modules
- Mark LangPredefinedFunctionObject and LangExternalFunctionObject as deprecated
- You should migrate to the new Lang Native Function system
- WARNING: LangPredefinedFunctionObject and LangExternalFunctionObject will be removed in v1.0.0-beta-06
- Update LII methods for LangNativeFunctions
WARNING: The Lang programming language specification for v1.0.0 is not finalized. Some breaking changes can still be introduced.
1.0.0-beta-04
Lang updates
- Fix unicode characters were not escaped
- Fix build.gradle settings
- [BREAKING CHANGE] Fix typo in method name: "LangNativeFunction.getInteralFunctions()" was renamed to "LangNativeFunction.getInternalFunctions()"
- Fix some JavaDocs issues
- Add default implementation for the Lang Platform API (DefaultLangPlatformAPI)
WARNING: The Lang programming language specification for v1.0.0 is not finalized. Some breaking changes can still be introduced.
1.0.0-beta-03
Lang updates
- [BREAKING CHANGE]: Package
me.jddev0.module.iowas renamed toat.jddev0.io - [BREAKING CHANGE]: Package
me.jddev0.module.langwas renamed toat.jddev0.lang - Fix throw statements in
func.exec() - Fix parser number were not reset after a linker function was used
- Fix throw statements in linker functions
- Add missing line number output for warnings of function pointer arguments
- Change some
setErrno()helper methods - Change function name output in stack trace
- Fix crash in the concat operator for types
BYTE_BUFFERconcatnot BYTE_BUFFER - Add stack trace output for failed tests
- Add parsing of function call of previous value in operation expressions
- Add type casting to function call previous value
- Add missing line number in stack trace output for previous node value node
- Add
func.cast() - Allow array creation in conditional operator parsing
- Fix operator precedence of the get item operator
- Allow setting of struct members with the member access operator in assignments as lvalue
- Add the set item operator
- Add
func.setItem() - Allow setting of item of composite types
- Fix error handling for operators
- Add lvalue operation assignment
- Fix parsing of inner assignment statements
- Add member access pointer operator
- Fix type constraint pattern
- Add parameter type constraints for function definitions
- Fix deep copy operator
- Fix parser crash for some try-catch inputs
- Add
func.arrayCreate() - Remove
func.arraymake() - Fix execution of multi-levl nontry/try block combinations
- Fix crash in linker functions
- Add
func.resetErrno() - Disallow negative version numbers
- Add the optional member access operator
- Add the optional get item operator
- Add
func.optionalGetItem() - Fix parsing of escaped
{values - Fix parsing of one-line functions with inner functions
- Add return value type constraints for functions
- Add optional isBreakable argument to loop, for-each, and enumerate functions
- Add
func.arrayFil() - Add
fromSingleAllowedType()method toDateTypeConstraint - Fix implementation of
func.combX2() - Define
func.rand()for struct values - Allow unpacking of list and struct values
- Improve Lang native function decleration
- Migrate predefined and external functions to native functions
WARNING: The Lang programming language specification for v1.0.0 is not finalized. Some breaking changes can still be introduced.