Cargo Features

[dependencies]
nlcc = { version = "0.12.5", default-features = false, features = ["full", "lexer", "parser", "semantic_analysis", "tacky", "codegen", "emission"] }
default = emission

The emission feature is set by default whenever nlcc is added without default-features = false somewhere in the dependency tree.

full = emission
lexer parser?

Affects args::Args.lex, nlcc::lexer

parser semantic_analysis? = lexer

Affects args::Args.parse, nlcc::parser

semantic_analysis tacky? = parser

Affects args::Args.validate, nlcc::semantic_analysis

tacky codegen? = semantic_analysis

Affects args::Args.tacky, nlcc::tacky

codegen emission = tacky

Affects args::Args.codegen, nlcc::codegen

emission default full? = codegen

Affects args::Args.no_link, args::Args.no_assemble, nlcc::emission