Libraryless. Click here for Pure Java version (10780L/76K).
// both tokPat and tokInput must be C-tokenized static L<PairS> ai_matchAngleBracketPattern(L<S> tokPat, L<S> tokInput) { L<PairS> match = zipTwoListsToPairs_ifSameLength(tokPat, tokInput); if (match == null) null; ret antiFilter parsing_checkMatchPairUsingMechList(uniquify(dropTwinPairsIC(match))); } static L<PairS> ai_matchAngleBracketPattern(S pat, L<S> tokInput) { ret ai_matchAngleBracketPattern(javaTokWithAngleBracketsC_cached(pat), tokInput); }
Began life as a copy of #1017285
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017292 |
Snippet name: | ai_matchAngleBracketPattern - takes C-tokenized input, returns list of pairs (var, contents) |
Eternal ID of this version: | #1017292/7 |
Text MD5: | 8c1dc9b8b39564feb5bf434242ddb234 |
Transpilation MD5: | dbfe4c9aa11d06a93ddbb1fadd39d991 |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-20 13:19:33 |
Source code size: | 472 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 344 / 448 |
Version history: | 6 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |