diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-09-28 22:15:06 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-09-28 22:15:19 -0700 |
| commit | 63d8b1cd3f34b15bf86210b99209e8b57e7019bb (patch) | |
| tree | cdaa28cbbe3e1fad493780a2f55a3f4f6075c1ea /nomnom/ast.nom | |
| parent | 678344182b1f04e35063d7185ac1d74317b011ea (diff) | |
Fully working, I think? (with a lot of shims)
Diffstat (limited to 'nomnom/ast.nom')
| -rw-r--r-- | nomnom/ast.nom | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nomnom/ast.nom b/nomnom/ast.nom index da1d0c4..377f4ae 100644 --- a/nomnom/ast.nom +++ b/nomnom/ast.nom @@ -16,6 +16,8 @@ object (Syntax Tree): %stub_bits::add "\%argnum" %argnum += 1 %me.stub = (%stub_bits::joined with " ") + if (%me.stub == "Lua Code 1 2"): + lua> "require('ldt').breakpoint()" (Syntax Tree).source_code_for_tree = (..) {} with fallback % -> (read file %.source.filename) @@ -86,3 +88,4 @@ object (Syntax Tree): %args::add % return %args +(Syntax Tree).map = (Syntax Tree).map_1 |
