aboutsummaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2018-11-19Deduplicated goto label syntax (now just use (--- (label) ---))Bruce Hill
2018-11-19Autoformatted/auto-upgraded.Bruce Hill
2018-11-17In-progress (but working) overhaul of some elements including: functionBruce Hill
calls, lib/thing.nom API, multi-assignments, varargs, etc.
2018-11-11Fixed whitespaceBruce Hill
2018-11-11Fixed some autoformatting stuff, and prepping to deprecate some mathBruce Hill
shorthand.
2018-11-11Fixed whitespace error.Bruce Hill
2018-11-11Fully upgraded to 4.10.12.7, including deprecating the old list/dictBruce Hill
comprehension methods, in favor of the new native support.
2018-11-09Deprecating (% as lua statements) and (% as lua return)Bruce Hill
2018-11-08Fixes/upgrades.Bruce Hill
2018-11-08Major overhaul, splitting nomsu_compiler into nomsu_environment,Bruce Hill
nomsu_compiler, and nomsu_decompiler. Also added comprehensions.
2018-11-06Removed utils.lua, simplified some metaprogramming stuff, added native supportBruce Hill
for calling functions with (%a %b %c) instead of (call %a with [%b, %c]), renamed _List -> List, _Dict -> Dict, improved example code.
2018-10-31Renamed (action %) -> (%'s meaning)Bruce Hill
2018-10-30Fully working version of (action [foo]: baz) -> ((foo) means: baz)Bruce Hill
refactor and misc other changes.
2018-09-14Auto-upgraded everything.Bruce Hill
2018-09-10Upgraded to 3.8 (text method changes) and fixed some bugs inBruce Hill
tree_to_nomsu.
2018-08-30Updated to use method call syntax.Bruce Hill
2018-08-30Auto-upgraded to 3.7Bruce Hill
2018-08-29Fully updated to 3.6, deprecated old LuaCode global functions like "to 1Bruce Hill
write 2" and replaced them with method calls like "1::append 2"
2018-08-28Upgraded version to 3.5.5.6, corresponding to Object Oriented changes.Bruce Hill
2018-07-30Added compatibility for 2.5.5.5 (file hash changes).Bruce Hill
2018-07-25Updated version numbers.Bruce Hill
2018-07-23Run 'use "core"' by default before running anything else, unless --no-core ↵Bruce Hill
command line flag is used.
2018-07-22Re-autoformatted everything. The main changes are: no longer adding aBruce Hill
newline after 1-line indented code inside blocks, and forcing files to have a trailing newline. The trailing newline thing created a lot of spurious changes.
2018-07-20Auto-formatted and auto-upgraded everything!Bruce Hill
2018-07-20Tweak to example code.Bruce Hill
2018-07-18Upgrading to version 2.3 (main change: "=" instead of "<-" forBruce Hill
assignment)
2018-07-17Upgraded core code to latest Nomsu verison.Bruce Hill
2018-07-15Major changes to how versioning and parsing work. This should be aBruce Hill
better path going forward to handling upgrades. Old syntax files will stick around for compatibility purposes. Old syntax can be parsed into valid syntax trees via the old syntax (.peg) files, and then old syntax trees should be valid and can be upgraded via the normal code path. This change has lots of improvements to Nomsu codegen too.
2018-06-20Cleaning up examples.Bruce Hill
2018-06-20Cleanups.Bruce Hill
2018-06-05Updating how_do_iBruce Hill
2018-05-27Some tweaks/cleanup on the nomsu code as well as adding variableBruce Hill
mangling to 'parse % as %' to make almost hygienic macros.
2018-05-24Misc changes, fixed up Object lib and tests.Bruce Hill
2018-05-15Removed "for all"-style iteration and changed "for % from 1 to 10"-styleBruce Hill
to "for % in 1 to 10" for consistency.
2018-05-15Cleaning up comments.Bruce Hill
2018-05-15Adding support for coroutines, and cleaning up comment syntax.Bruce Hill
2018-05-10Cleanup: removed "File" type trees (now just Block), overhauledBruce Hill
how_do_i.nom, added "result of %" macro, which allowed comprehensions to be way more concisely defined. Moved len() operator into the nomsu environment.
2018-05-09Fixed up examples to be up to date and working.Bruce Hill
2018-01-25Deleted stale code.Bruce Hill
2018-01-25Fixed up how_do_i with updated syntax.Bruce Hill
2018-01-19Updated and fixed up how_do_iBruce Hill
2018-01-03Updated examples and made operator characters not stick to each other.Bruce Hill
Useful for <%x>=6 properly registering as <%x> = 6.
2017-12-14Updated how do I.Bruce Hill
2017-10-30Changed it so variables can't contain wordbreakers anymore.Bruce Hill
2017-10-19Abbreviated "lua code" to "lua>" and "lua expr" to "=lua" and "luaBruce Hill
block" to "lua do>"
2017-10-13Changed tokenizing to treat symbols as their own things.Bruce Hill
2017-10-13Removed io.write() stuff.Bruce Hill
2017-10-13Improved code generation for "when" statements using elseif, andBruce Hill
improved code generation for loops by omitting goto labels when not used.
2017-10-07Added "unless" to core.Bruce Hill
2017-10-04Added how do I.Bruce Hill