aboutsummaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2018-05-26Re-added sources.Bruce Hill
2018-05-24Removed the Word tree type and replaced it with raw strings, sinceBruce Hill
they're only used as part of Actions
2018-05-24Consolidating code obj code and expunging all [[..]]-style lua strings.Bruce Hill
2018-05-24Misc changes, fixed up Object lib and tests.Bruce Hill
2018-05-16Moved all the tree->lua and tree->nomsu code back into single functionsBruce Hill
in nomsu.moon, and cleaned up how Vars are treated, since they are not atomic.
2018-05-16Initial working version.Bruce Hill
2018-05-16Converted DictEntry to be an actual tree, instead of a pseudo-tree, made ↵Bruce Hill
'parse % as %' generate lua code with already-substituted tree literals instead of reparsing and substituting at parse time, and made some general optimizations.
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-15More API cleanup, and fixed a bug with optimized lua files generatingBruce Hill
spurious circular import errors.
2018-05-15Minor cleanups changes.Bruce Hill
2018-05-11Switched to use inline nomsu generation for `Nomsu` tree luaBruce Hill
compilation and removed some dead code around Nomsu.debug
2018-05-10Added scopes to core.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-09Renamed "export" to "external"Bruce Hill
2018-05-09Added tentative support for luajit (depends on pure-lua LPEGBruce Hill
implementation).
2018-05-04Removing varargs from free var functions.Bruce Hill
2018-05-03Overhaul with smaller, more concise codebase around definingBruce Hill
actions/macros, and deleting some dead code.
2018-05-03Cleanup of unnecessary parens in generated lua code for math operations.Bruce Hill
2018-04-28Fixed compile_lib and cleaned up control_flowBruce Hill
2018-04-27Better text interpolation/handling of "\". Also added syntax support forBruce Hill
(statement; statement)
2018-04-26Cleaning up codegen and TODOBruce Hill
2018-04-25Overhauling parsing of Blocks (can no longer contain only one statement)Bruce Hill
2018-04-25Removing end-of-line ":" and "(..)" for blocks (they just useBruce Hill
indentation now).
2018-04-25Got nomsu codegen working again.Bruce Hill
2018-04-24Switched repr() to only return ""-style strings, and not [[]]-style,Bruce Hill
which helps with indenting generated lua code correctly. Also made a few ergonomic fixes/changes for line breaking.
2018-04-24Refactor to improve indentation and move as_nomsu() into tree methods.Bruce Hill
2018-04-20Lots of optimizations.Bruce Hill
2018-04-19Fixed compiling to .lua filesBruce Hill
2018-04-19All tests passing (except object)Bruce Hill
2018-04-18More cleanup, slowly working through operators/control_flowBruce Hill
2018-04-18More working, shifting towards having Lua and Nomsu objects instead ofBruce Hill
just strings.
2018-04-17Disabled comment transpilation for now.Bruce Hill
2018-04-17Partially working, at least for metaprogramming.nomBruce Hill
2018-04-17Moving tree_to_lua into each of the Nomsu tree types, which are now inBruce Hill
their own file.
2018-04-13Getting closer.Bruce Hill
2018-04-13More correct and more working.Bruce Hill
2018-04-12Incremental progress.Bruce Hill
2018-04-12Incremental progress towards working.Bruce Hill
2018-04-11Incremental progress.Bruce Hill
2018-04-11Work in progress...Bruce Hill
2018-04-09Re-added callstack callsite info. It's a bit hacky, but better thanBruce Hill
nothing.
2018-04-08Typo caused metadata to go missing.Bruce Hill
2018-04-08Switched to use "." syntax.Bruce Hill
2018-04-06Retrofitted "%'s %" to parse as dot syntax.Bruce Hill
2018-03-05Updated for optional metadata support.Bruce Hill
2018-02-13Initial branch of switching to using immutable types.Bruce Hill
2018-02-08Moved over to have tree metadata stored outside the tree. This paves theBruce Hill
way for programmatically generating trees more easily.
2018-02-06Reverted to ACTIONS instead of ACTION and added 'show lua %' macro.Bruce Hill