Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

20
LINES

< > BotCompany Repo | #1002739 // Test "it [= x]" etc.

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (3781L/24K/79K).

!752

p {
  Explain e = snlParse("it [= x]");
  printExplainTree(e);
  snlToTree_debug = true;
  Lisp tree = snlToTree(e);
  print("tree: " + tree);
  print("back: " + snlFromTree(tree));
  
  e = snlParse("it [= [x]]");
  tree = snlToTree(e);
  print("tree: " + tree);
  print("back: " + snlFromTree(tree));
  
  e = snlParse("it [= [some < people]]");
  tree = snlToTree(e);
  print("tree: " + tree);
  print("back: " + snlFromTree(tree));
}

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: #1002739
Snippet name: Test "it [= x]" etc.
Eternal ID of this version: #1002739/1
Text MD5: f813492e3c824cda6fa75a502ff94b01
Transpilation MD5: f8ffe96cf5e6ac124a97dcfd5e841f84
Author: stefan
Category: snl
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-02-19 02:11:52
Source code size: 462 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 667 / 761
Referenced in: #3000382 - Answer for ferdie (>> t = 1, f = 0)