Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeking information about Glass DSLs #1

Open
RAbraham opened this issue Nov 1, 2021 · 0 comments
Open

Seeking information about Glass DSLs #1

RAbraham opened this issue Nov 1, 2021 · 0 comments

Comments

@RAbraham
Copy link

RAbraham commented Nov 1, 2021

Hi David,
I'm gathering information for a blog post on DSLs that I'm about to write and I'm really curious about Glas's take on DSLs. I had a few questions if you don't mind answering any of them.

  • What were the reasons for making DSL creation an integral part of Glas? In other words, what makes you a believer in DSLs.
  • What do you think of the macros(Lisp) vs DSL tradeoff? If one was a programmer knowledgeable in Lisp macros for e.g., would you recommend DSLs to them or are DSLs more meant for non expert programmers?
  • Is the grammar PEG or CFG? Or does that depend on the DSL builder?
  • If it's not PEG, do you have any reservations against/opinions on PEG?
  • My current approach to building DSLs would be defining a PEG grammar/semantics in Ohm JS(https://github.com/harc/ohm). How would building a DSL in Glas differ from that?
  • What are some good resources to check out for someone interested in building DSLs. What literature inspired you re: DSLs.

I'm really excited about Glas and what I can learn from it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant