pathom

:pathom: https://github.com/wilkerlucio/pathom/ & https://pathom3.wsscode.com & https://roamresearch.com/#/app/wsscode
currentoor 2020-05-23T06:08:58.075100Z

Is it wrong to invoke the parser in a resolve? What about multiple times?

currentoor 2020-05-23T18:13:37.075600Z

Is it ok to bust the cache in the env if I want to invoke the parser from within a resolver?

wilkerlucio 2020-05-23T22:12:29.075900Z

yeah, calling from inside should be fine, but can lead to unexpected situations due to caching. the best you can do is try and see what works for the situation

currentoor 2020-05-24T21:34:17.080500Z

i reset the atoms in the env (there were three of them pathom had) and now it works great

currentoor 2020-05-24T21:34:19.080700Z

thanks!

currentoor 2020-05-23T06:09:38.075200Z

I’m getting weird behavior and starting to think this is not how the parser is supposed to be used.

currentoor 2020-05-23T06:13:33.075400Z

If I invoke the parser multiple times with pmap rather than map it works