Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What is the benefit of a DSL versus a configuration file?


right now Wasp DSL is pretty much the config file, it isn't much more expressive. Short term benefit is that this way we can provide nicer & more intuitive syntax (config files like json/yaml can quickly become very nested and hard to read).

Longer term, we plan to add support for inline-JS, so you could e.g. mix JS and Wasp code (instead of just referencing js imports as it works now). We will also add some basic language constructs (expressions, conditionals, multiple wasp files) so we might get more similar to e.g. Starlark or Terraform's DSL.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: