Libraryless. Click here for Pure Java version (3036L/18K).
svoid test_SimpleInterpreter() { assertEquals("world", new SimpleInterpreter().newState() .set("hello", "world") .set("whatever", 123) .eval(new SimpleInterpreter.GetVar("hello"))); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030698 |
Snippet name: | test_SimpleInterpreter |
Eternal ID of this version: | #1030698/1 |
Text MD5: | 33aabaa6d6fd18a99fdd9a3159c7f293 |
Transpilation MD5: | c48df1fc4f86127594ade59cc57aee82 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-03-08 20:18:00 |
Source code size: | 202 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 193 / 275 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |