aboutsummaryrefslogtreecommitdiffhomepage
path: root/ptx/src/lib.rs
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2024-09-04 15:47:42 +0200
committerGitHub <[email protected]>2024-09-04 15:47:42 +0200
commit193eb29be825370449afb1fe2358f6a654aa0986 (patch)
tree42ed1179594a362f417266d08842aa186028204a /ptx/src/lib.rs
parent872054ae4000df5eda1dd96f0b4e88dc071c22f9 (diff)
downloadZLUDA-193eb29be825370449afb1fe2358f6a654aa0986.tar.gz
ZLUDA-193eb29be825370449afb1fe2358f6a654aa0986.zip
PTX parser rewrite (#267)
Replaces traditional LALRPOP-based parser with winnow-based parser to handle out-of-order instruction modifer. Generate instruction type and instruction visitor from a macro instead of writing by hand. Add separate compilation path using the new parser that only works in tests for now
Diffstat (limited to 'ptx/src/lib.rs')
-rw-r--r--ptx/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ptx/src/lib.rs b/ptx/src/lib.rs
index 1cb9630..5e95dae 100644
--- a/ptx/src/lib.rs
+++ b/ptx/src/lib.rs
@@ -24,6 +24,7 @@ lalrpop_mod!(
);
pub mod ast;
+pub(crate) mod pass;
#[cfg(test)]
mod test;
mod translate;