Cops devs, we need a "rubular.com" for creating and debugging S-expressions #11746
skull-squadron
started this conversation in
Ideas
Replies: 2 comments
-
Have you seen https://nodepattern.herokuapp.com/ ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
There's https://nodepattern.herokuapp.com/ which @marcandre created. Also something I find useful is running |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm constantly debugging S-expressions with rspec, which doesn't help all that much. There has to be an easier way.
Requirements
a. User enters the name of the cop they want to create
Whatever/Foo/Hey
, and a new default template appearsb. Live reevaluation whenever text in any panel changes
Design
foo/bar/hey.rb
Stretch goals
A. Context-sensitive S-expression completion / help
B. Errors show in the appropriate panel and remove the errors panel
Non-requirements
I. "Fiddle" / playground permalink not necessary
Notes
i. Perhaps Opal to run it in the browser similar to TryRuby
Beta Was this translation helpful? Give feedback.
All reactions