test 1-9 passing

This commit is contained in:
Kasey White 2022-12-14 02:23:53 -05:00 committed by KtorZ
parent b71315ba2f
commit 3c664b9651
No known key found for this signature in database
GPG Key ID: 33173CB6F77F4277
5 changed files with 1819 additions and 1698 deletions

View File

@ -64,6 +64,7 @@ pub enum Air {
Builtin { Builtin {
scope: Vec<u64>, scope: Vec<u64>,
func: DefaultFunction, func: DefaultFunction,
tipo: Arc<Type>,
}, },
BinOp { BinOp {

1181
crates/lang/src/builder.rs Normal file

File diff suppressed because it is too large Load Diff

View File

@ -12,6 +12,7 @@ pub mod parser;
pub mod pretty; pub mod pretty;
pub mod tipo; pub mod tipo;
pub mod uplc; pub mod uplc;
pub mod builder;
#[derive(Debug, Default, Clone)] #[derive(Debug, Default, Clone)]
pub struct IdGenerator { pub struct IdGenerator {

File diff suppressed because it is too large Load Diff

View File

@ -17,9 +17,10 @@ use aiken_lang::{
Annotation, DataType, Definition, Function, ModuleKind, RecordConstructor, Annotation, DataType, Definition, Function, ModuleKind, RecordConstructor,
RecordConstructorArg, Span, TypedDataType, TypedDefinition, TypedFunction, RecordConstructorArg, Span, TypedDataType, TypedDefinition, TypedFunction,
}, },
builder::{DataTypeKey, FunctionAccessKey},
builtins::{self, generic_var}, builtins::{self, generic_var},
tipo::TypeInfo, tipo::TypeInfo,
uplc::{CodeGenerator, DataTypeKey, FunctionAccessKey}, uplc::CodeGenerator,
IdGenerator, IdGenerator,
}; };
use miette::NamedSource; use miette::NamedSource;