Skip to content

Latest commit

 

History

History

rnix-normalize

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

rnix-normalize

This crate contains the normalization phase, by which ASTs produced by rnix-ast are converted to the type exported by normal-ast.

Normalization Rules

Each normalization rule describes how to take an RNixExpr (the AST produced by rnix-parser) and transform it into its equivalent NormalNixExpr (the AST produced by the reference impl). Each rule has a corresponding function in lib.rs.