Prepared for REPL usage #709
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "github/fork/radrow/repl-prep"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: radrow
I have created and exposed some utility functions. I need to be able to pin into certain parts of the compiler for the purpose of my REPL.
Beside that I enchanted the way of running the parser – there is now a function
run_parser/{2,3}
which takes a parser/0
, a string and optionally option list. Also, I added akeep_included
option for the parser to report which files were included along with their hashes. This is useful when you want to keep track of which files are in context (I am using it in REPL to display warnings about duplicated includes for example)Created by: hanssv
Opts
have typeaeso_compiler:options()
and that does not includekeep_included
!?Created by: hanssv
Review: Commented
Looks good to me!
Created by: radrow
Good catch, will add
Created by: radrow
After I faced problems with pattern definitions I need to rework it a bit. Let's postpone it until I remove WIP label
Created by: hanssv
Created by: tolbrino
Review: Approved
LGTM, but I don't have in-depth experience with the code-base, so better @hanssv and @UlfNorell take a look too.
Created by: hanssv
Review: Approved
Merged by: radrow at 2020-04-02 10:29:15 UTC