krdln / shelly

Shelly — very dumb PowerShell script analyzer
MIT License
3 stars 1 forks source link

Split lib into modules and make parser pure #5

Closed krdln closed 6 years ago

krdln commented 6 years ago

cc @m-kostrzewa The actual refactors are done in the second commit, the rest are just shuffling code back and forth.

lib.rs now has three child modules: syntax, preprocess and scope, all of them but preprocess pure!

The syntax module is an independent one and the plan is to make it a separate crate (probably after implementing actual parser).