[READ-ONLY] Mirror of https://github.com/samualtnorman/hackmud-script-manager. Script manager for game hackmud, with minification, TypeScrip www.npmjs.com/package/hackmud-script-manager

rewrite preprocessor syntax "parser" we're now using the acorn tokeniser to iterate over private identifier tokens, replacing them with regular identifiers, then parsing the resulting string to an AST using babel, and using that to turn the private identifiers back into private identifiers or recognise them as preprocessor syntax current drawback is acorn supports less stuff than babel does so lost tuples for example tokens


Author samual.uk
Date Commit Parent ed6d72e8
+130 -88
1 changed file
+130 -88
1 changed file