This is stars and forks stats for /krux02/ast-pattern-matching repository. As of 12 May, 2024 this repository has 98 stars and 10 forks.
Ast Pattern Matching matchAst(arg, matchErrors): of nnkStmtList( _, _, nnkForStmt( ident"i", nnkInfix, `mysym` @ nnkStmtList ) ): echo "The AST did match!!!" echo "The matched sub tree is the following:" echo mysym.lispRepr else: echo matchErrors echo "sadly the AST did not match :(" matchAst is where the magic happens. In the of-branch is a tree that is close to the output of lispRepr on an arbitrary NimNode. But it is not quite the same, for example the node kinds...
Ast Pattern Matching matchAst(arg, matchErrors): of nnkStmtList( _, _, nnkForStmt( ident"i", nnkInfix, `mysym` @ nnkStmtList ) ): echo "The AST did match!!!" echo "The matched sub tree is the following:" echo mysym.lispRepr else: echo matchErrors echo "sadly the AST did not match :(" matchAst is where the magic happens. In the of-branch is a tree that is close to the output of lispRepr on an arbitrary NimNode. But it is not quite the same, for example the node kinds...
repo | techs | stars | weekly | forks | weekly |
---|---|---|---|---|---|
planety/prologue | Nim | 1.2k | 0 | 43 | 0 |
nim-works/nimskull | NimHTMLC | 214 | 0 | 30 | 0 |
Infinitybeond1/aurc | NimMakefile | 8 | 0 | 0 | 0 |
PMunch/nimlsp | Nim | 375 | 0 | 47 | 0 |
status-im/nim-chronicles | Nim | 140 | 0 | 23 | 0 |
oXis/NimWinAPICustom | Nim | 31 | 0 | 6 | 0 |
unxsh/nitch | NimShell | 419 | +3 | 41 | +1 |
HugoGranstrom/nimiSlides | Nim | 75 | 0 | 4 | 0 |
rotu/nim-records | Nim | 20 | 0 | 0 | 0 |
zqqw/pakku | NimMakefileShell | 32 | 0 | 4 | 0 |