aureliojargas / sedsed

Debugger and code formatter for sed scripts
https://aurelio.net/projects/sedsed/
GNU General Public License v3.0
115 stars 10 forks source link

Isolate the parser into a function/class #47

Closed aureliojargas closed 5 years ago

aureliojargas commented 5 years ago

Currently the parser code is at top level, and it's always executed. Thus, one cannot parse a sed script while using sedsed as a module.

Isolate that code so we can call it when needed.