Libraryless. Click here for Pure Java version (1167L/8K/26K).
!752 p { Lisp tree = nlParse("theory yes"); new HashMap matches; if (nlMatch("theory $t", tree, matches)) printStructure(matches); else print("nope"); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1002847 |
| Snippet name: | Test nlMatch |
| Eternal ID of this version: | #1002847/1 |
| Text MD5: | 255a301f4abfb9f137e22c2b191812c5 |
| Transpilation MD5: | 1896036fa1d3bec928ef0bee0972ffb8 |
| Author: | stefan |
| Category: | eleu / nl |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-03-03 02:47:08 |
| Source code size: | 178 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 817 / 924 |
| Referenced in: | #3000382 - Answer for ferdie (>> t = 1, f = 0) |