IRC channel logs
2022-11-16.log
back to list of logs
<sneek>Welcome back tohoyn, you have 1 message! <sneek>tohoyn, daviid says: yes, when there is no other way, we all have to use the constructor <haugh>Hello friends. Are `read` and `read-options` the only Scheme API to Guile's reader? I'm interested in partial evaluation of sexps. <robin>haugh, there's read-syntax, for reading s-exps annotated with source location etc. <robin>haugh, and tree-il, which may be more useful for partial evaluation than non-macroexpanded sexps <robin>haugh, `(macroexpand SEXP)' is the simplest way to see roughly what tree-il looks like, e.g.: (macroexpand '(cond ('zero 0) (else 1))) => #<tree-il (if (const zero) (const 0) (const 1))> <robin>(with more documentation in (info "(guile) Tree-IL")) <haugh>robin, thanks very much, lots to read <old>sneek: later ask cow_2001 where they are in their reading of the Guile's manual