This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-17
Channels
- # adventofcode (25)
- # announcements (2)
- # babashka (16)
- # babashka-sci-dev (16)
- # beginners (213)
- # calva (15)
- # clj-kondo (126)
- # clj-on-windows (1)
- # cljdoc (5)
- # cljfx (1)
- # cljs-dev (6)
- # clojure (230)
- # clojure-europe (38)
- # clojure-nl (3)
- # clojure-uk (3)
- # conjure (10)
- # core-async (15)
- # cursive (33)
- # fulcro (58)
- # hyperfiddle (4)
- # jobs-discuss (1)
- # kaocha (5)
- # lsp (46)
- # meander (3)
- # off-topic (30)
- # polylith (10)
- # portal (9)
- # re-frame (5)
- # reitit (7)
- # releases (2)
- # ring (17)
- # sci (8)
- # shadow-cljs (6)
- # specter (1)
- # sql (1)
- # testing (9)
- # tools-deps (4)
- # vim (12)
👋:skin-tone-2: Is there a way to generate an AST using SCI? I have been digging around and trying sci.impl.analyze/analyzer
but am starting to think it doesn’t exist and wanted to confirm.
@haywood SCI does not expose an intermediate representation. can you explain why you would need this?
What it does expose is: 1) reading an s-expression from a string, 2) evaluating that s-expression in a context
yea I’m working on a web application which is basically a local dev environment in the browser which is built on a sci compiler. I’m looking to venture into greater ‘no code’ abstractions, so I want to take some source strings that users make, parse the AST, and generate an HTML form representation (and then eventually go back the other way)