···4343Alternatively, you can set up [`babel-plugin-macros`](https://github.com/kentcdodds/babel-plugin-macros) and
4444import `reghex` from `"reghex/macro"` instead.
45454646-This step is **optional**. `reghex` can also generate its optimised JS code during runtime only!
4646+This step is **optional**. `reghex` can also generate its optimised JS code during runtime.
4747+This will only incur a tiny parsing cost on initialisation, but due to the JIT of modern
4848+JS engines there won't be any difference in performance between pre-compiled and compiled
4949+versions otherwise.
5050+5151+Since the `reghex` runtime is rather small, for larger grammars it may even make sense not
5252+to precompile the matchers at all. For this case you may pass the `{ "codegen": false }`
5353+option to the Babel plugin, which will minify the `reghex` matcher templates without
5454+precompiling them.
47554856##### 3. Have fun writing parsers!
4957