Open jvacek opened 2 months ago
Thanks for your request!
Release 0.3.4
is out today with the following improvements on the REPL:
λ> $15.text.matches(`.*\/$`);
:print
and :print_ast
commands are also more flexible and allow the inspection of node fields, so you can write something like: :print $15.parent.arguments
or :print_ast $15.parent.arguments
An inspection command to list the fields available on a given node will be available shortly.
Is your feature request related to a problem? Please describe. When making queries, it's a bit hard to figure out what is accessible how. As each Metalanguage can do this differently, it would be nice to avoid trips to the docs.
Describe the solution you'd like It would be nice to be able to do some of the following commands in the REPL console:
It could be also nice to have something for discoverability, which could show on the CLI what sort of attributes are accessible for querying.
Describe alternatives you've considered N/A
Additional context Add any other context or screenshots about the feature request here.