Small standalone POC project for exercising the native macro implementation in the sibling ../rescript checkout.
- The compiler repo lives at
/Users/mununki/github/mununki/rescript - That repo has already been built at least once (
make)
If you want to test this locally against your own checkout:
- Clone
https://github.com/mununki/rescript - Build that checkout to branch
poc-macroat least once withmake - Update the
link:paths in package.json so they point at your localrescriptcheckout - Run
pnpm install
For example, these dependencies may need to be adjusted:
rescript@rescript/runtimeppxlib_res
pnpm install
pnpm build
pnpm testThe project uses local link: dependencies for:
ppxlib_res@rescript/runtimerescript
That keeps node_modules/rescript pointed at the sibling checkout while letting the POC behave like a small standalone project.