pathom

:pathom: https://github.com/wilkerlucio/pathom/ & https://pathom3.wsscode.com & https://roamresearch.com/#/app/wsscode
imre 2021-02-11T14:38:18.226Z

Thanks you for your help so far. Mind if I ask what is the recommended reader to be used with async-parser? (and parallel-parser for that matter) I've just been getting into pathom lately

imre 2021-02-11T14:57:59.226200Z

Let me rephrase a bit: if I use the async-parser, should is my best choice of reader the async-reader2?

markaddleman 2021-02-11T18:02:52.227Z

I don't have an EQL endpoint for my app. Is there a way to write up Viz as part of my REPL so it can submit EQL as a function call?

wilkerlucio 2021-02-11T18:52:58.227400Z

yes, use the connector

wilkerlucio 2021-02-11T18:53:10.228Z

when you open the app, it has links for how to setup the connector

wilkerlucio 2021-02-11T18:53:15.228300Z

both for pathom 2 and 3

wilkerlucio 2021-02-11T18:53:46.228600Z

https://github.com/wilkerlucio/pathom-viz-connector

1🙏
wilkerlucio 2021-02-11T18:55:07.229200Z

yes, async-reader2 with async parser

1
souenzzo 2021-02-11T19:43:54.229900Z

pathom3 placeholders can replace values inside "entity"

(p.eql/process {} `[{(:>/a {:a 1})
                     [:a
                      {(:>/a {:a 2})
                       [:a]}]}])
                    
=> {:>/a {:a 1, :>/a {:a 2}}}
This is a explicit behavior?

wilkerlucio 2021-02-11T20:35:52.230200Z

yup, and there are examples mentioning this specific behavior

1✔️
wilkerlucio 2021-02-11T20:49:47.230400Z

from docs:

(p.eql/process env
  [{'(:>/bret {::first-name "Bret" ::last-name "Victor"})
    [::full-name
     {'(:>/bard {::first-name "Bard"})
      [::full-name]}]}])
; {:>/bret
;   {:com.wsscode.pathom3.docs.placeholder/full-name "Bret Victor",
;    :>/bard
;    {:com.wsscode.pathom3.docs.placeholder/full-name "Bard Victor"}}}

1