Libraryless. Click here for Pure Java version (2886L/18K).
// returns And(...) or string // could be optimized sO ai_parseAmpersandToAndObjects(S s) { LS l = tok_splitAtAmpersand(s); if (l(l) == 1) ret s; ret And(first(l), ai_parseAmpersandToAndObjects(join(" & ", dropFirst(l)))); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1027900 |
| Snippet name: | ai_parseAmpersandToAndObjects |
| Eternal ID of this version: | #1027900/1 |
| Text MD5: | 848fc0d25d5a8d7432e59cec3114050a |
| Transpilation MD5: | 3018346b3c32019b2a3aaffe26662913 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-04-16 16:57:54 |
| Source code size: | 236 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 406 / 504 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |