Own-Programming-Language-Tu.../ownlang-parser/src/main/java/com/annimon/ownlang/parser
aNNiMON cce75927b8 Change list pattern matcher behavior for single element
match [1] {
  case [x]:
}
Before: x = [1]
After: x = 1

x will be the first (and single) value of an array
2024-01-12 20:52:30 +01:00
..
ast Change list pattern matcher behavior for single element 2024-01-12 20:52:30 +01:00
linters Deprecate old Variables/Functions methods 2024-01-12 20:52:30 +01:00
optimization Use new switch and pattern matching, fix deprecations 2024-01-12 20:52:30 +01:00
visitors Use new switch and pattern matching, fix deprecations 2024-01-12 20:52:30 +01:00
Beautifier.java Use new switch and pattern matching, fix deprecations 2024-01-12 20:52:30 +01:00
Lexer.java Move classes to separate modules 2024-01-12 20:52:30 +01:00
Linter.java Define functions and constants in root scope 2024-01-12 20:52:30 +01:00
Optimizer.java Move classes to separate modules 2024-01-12 20:52:30 +01:00
ParseError.java Move classes to separate modules 2024-01-12 20:52:30 +01:00
ParseErrors.java Move classes to separate modules 2024-01-12 20:52:30 +01:00
Parser.java Fix scope of foreach and match statements 2024-01-12 20:52:30 +01:00
SourceLoader.java Use new switch and pattern matching, fix deprecations 2024-01-12 20:52:30 +01:00
Token.java Switch to Java11+ features where possible 2024-01-12 20:52:30 +01:00
TokenType.java Move classes to separate modules 2024-01-12 20:52:30 +01:00