Expand description
A lossless parser for Makefiles
Example:
use std::io::Read;
let contents = r#"PYTHON = python3
.PHONY: all
all: build
build:
$(PYTHON) setup.py build
"#;
let makefile: makefile_lossless::Makefile = contents.parse().unwrap();
assert_eq!(makefile.rules().count(), 3);
Structs§
- An AST node for $ast
- An AST node for $ast
- An error that occurred while parsing a makefile
- An AST node for $ast
- An AST node for $ast
Enums§
- An error that can occur when parsing a makefile