Download Jar. Libraryless. Click here for Pure Java version (6289L/44K).
1 | !7 |
2 | |
3 | p-exp {
|
4 | Exp e = nlLogic_parseExpression("a[bla, blubb](good argument)");
|
5 | assertTrue(e instanceof Func); |
6 | assertEqualsVerbose("a", e/Func.name);
|
7 | assertEqualsVerbose(ll("bla", "blubb"), e/Func.options);
|
8 | assertEqualsVerbose(Sentence2("good argument"), e/Func.arg);
|
9 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1017933 |
| Snippet name: | Test parsing function with options (NL Logic, OK) |
| Eternal ID of this version: | #1017933/2 |
| Text MD5: | 5b7c5faa59c4616d0120a359a840d72c |
| Transpilation MD5: | 05b44c7c58478701a59f6a747a700515 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-08-22 13:44:22 |
| Source code size: | 284 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 610 / 1533 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |