ConseilJS
ConseilJS copied to clipboard
Michelson parser updates
- [x] regex matcher for annotations
- [x] regex matcher for CAR/CDR macros
- [x] regex matcher for DUP/DIP macros
- [x] fix
Elt
bug - [x] support for IF_SOME macro
- [x] CREATE_CONTRACT support
- [ ] regex matcher for PAIR macro
- [ ] dynamic (UN)PAIR macro expansion
- [x] support for SET_CAR/SET_CDR macros
- [ ] support for MAP_CAR/MAP_CDR macros
- [ ] annotations for macros
- [ ]
@%%
annotation support
These might help:
macroCADR: /C[AD]+R/
macroPAIR: /P[PA]+[AI]+R/;
macroDUP: /D[U]+P/
macroDIP: /D[I]+P/
annotationPattern: /[\@\%\:]{1}[a-z_A-Z0-9]+/
Extremely, thank you!