Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Custom Rules Playground #7

Open
wtho opened this issue Dec 2, 2018 · 1 comment
Open

Custom Rules Playground #7

wtho opened this issue Dec 2, 2018 · 1 comment

Comments

@wtho
Copy link

wtho commented Dec 2, 2018

I know this would be a lot of work, but having an environment ready to write rules would be awesome and lowering the bar of learning it!

My idea is to combine your playground with the TS in-browser compiler (ISC) and ast-viewer (MIT)

I imagine something with

  • First editor to write new rules
  • Second Editor to insert File to inspect (or maybe even link a folder in a github repo)
  • Panel to view the AST of the file to inspect
  • Panel to see output of tslint or compile errors

I would love to create a Proof-of-Concept for this.

  • Is your library able to run js-rules that just got loaded/compiled?
  • Would you be open to extend the playground for this once it works?
@wtho wtho changed the title Custom Rules Custom Rules Playground Dec 2, 2018
@johnwiseheart
Copy link
Contributor

Hey, I agree - this would be awesome.

In theory the library should be able to run rules which just got loaded - but I haven't worked on this for a little while and so I can't remember exactly. Definitely open to extending the playground - any contributions are welcome!

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

No branches or pull requests

2 participants