Package io.github.protasm.jvmud.compiler.preproc


package io.github.protasm.jvmud.compiler.preproc
Minimal LPC preprocessor.

Handles line splicing, macro expansion, conditional directives, and include resolution while preserving mappings back to original files via LineMap and SourceSpan data.

Exposes pluggable IncludeResolver strategies so callers control filesystem access. Assumes callers manage include search paths and guard against untrusted input when providing resolvers.

Not responsible for tokenization or parsing; produces expanded source strings and positional mappings for the scanner.