Source code for course "How to create your own programming language"
Repo aNNiMON/Own-Programming-Language-Tutorial, read from GitHub 1 d ago. aNNiMON has not joined Take My Repo.
own package manager. Usage examples: own, own init, own add openai.this in non-static class methods.okhttp.newClient() and HttpClientBuilderValue.use std, math instead of use ["std", "math"].case [x] behavior in list pattern matching to match single element.println 0x0123456789, 0x०१२३४५६७८९.700L, 0xABLownlang run to run them. Added script checkUpdate that checks app updates.joining to functional::streamarr.length, arr.isEmpty(), arr.joinToString(...)??for supports iterating strings and arrays with index:for ch : "test"for ch, code : "test"for el : arrfor el, index : arrjsonencode:jsonencode(obj) — minified jsonjsonencode(obj, 2) — pretty-print json with 2 spaces indentjdbcstr::range for reversed rangesjava::new. Ability to instantiate classes with new operatordownloader, regexstd::arraySplice, std::defaultstd::OwnLang which stores language version and platform metadatapeek, sorted to StreamValueuse ["std", "types", "math"]"%d. %s".sprintf(1, "OwnLang") -> sprintf("%d. %s", 1, "OwnLang")Function and function call chaining support (func().func() and func()())
Added takewhile, dropwhile, stream functions to functional module
Added parseInt, parseLong, toHexString functions to std module
Added copy function to files module
Improved optimization
Added socket, base64, java, forms, jdbc modules
Updated examples
Minor fixes and improvements
Added canvasfx, date, yml, aimp module
Updated std, math, files, functional module
Added std::ARGS constant for accessing command-line arguments
Added REPL mode, Beautifier, Linter, Optimizer
Fixed error recovering in parser and deadlock in lexer
Added merging objects operation map1 + map2
Fixed variables scope
Speeded up files reading
Added NumberValue cache
Updated Netbeans Plugin
Added examples and help