aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-11-28Add a compilation unit scope to unitify how scoping is done in GIMPLE conversionPhilip Herron1-0/+105
2020-11-28compile locals per blockPhilip Herron2-24/+63
2020-11-28We need to analyse and store the locals per block for compilationPhilip Herron3-0/+10
2020-11-28Remove scoping in TypeResolution destructorNala Ginrut1-6/+1
2020-11-28Remove scoping in NameResolution destructorNala Ginrut1-5/+2
2020-11-28Move scoping to Resolution classNala Ginrut1-2/+13
2020-11-28add type resolution to parameters and return types of functionsPhilip Herron2-0/+43
2020-11-28Start compilation of parameters and return type to functionsPhilip Herron1-22/+115
2020-11-28Don't continue to compilation to GIMPLE phase if we saw errorsPhilip Herron1-0/+4
2020-11-28Need access to TypePath fieldsPhilip Herron1-0/+1
2020-11-28Add the referenced function to the CallExpr when resolvedPhilip Herron2-0/+5
2020-11-28Add type resolution to CallExprPhilip Herron5-6/+120
More work will be added here but there is enough to start working on the initial AST -> Gimple transformations now.
2020-11-28Add rust-name-resolutionNala Ginrut2-0/+816
2020-11-28Add rust-type-resolutionNala Ginrut2-0/+1089
2020-11-28Refactor Resolution classNala Ginrut1-194/+196
2020-11-28Change rust-session-manager for resolution refactoringNala Ginrut2-13/+16
2020-11-28For tuple structs the constructor is just a regular function callPhilip Herron2-7/+9
This is a hack to get the AST to become a CallExpr more changes might occur later to cleanup this side of the AST.
2020-11-28Add in a toplevel pass to grab global declarations for analysis passPhilip Herron7-8/+817
2020-11-28Reuse typeComparison checks in assignments and expressionsPhilip Herron2-61/+26
2020-11-28Initial type comparison code for error: E0308Philip Herron2-5/+73
2020-11-28Need public access to Expr locus and rhsPhilip Herron1-2/+1
2020-11-28Template the scope classPhilip Herron3-8/+8
2020-11-28Need access to function and params for CallExprPhilip Herron1-1/+1
2020-11-28Infer types for AssignmentExprPhilip Herron2-1/+28
2020-11-28Infer types to scope for FunctionParamsPhilip Herron1-18/+21
2020-11-28Need to be able to visit LHS and RHS of AssignmentExprPhilip Herron1-0/+4
2020-11-28Need public to access locus and param name in FunctionParamPhilip Herron1-2/+1
2020-11-28Do inferencing on Expressions needs type match checkingPhilip Herron1-8/+35
2020-11-28need public access to locus on OperatorExprPhilip Herron1-1/+1
2020-11-28Need public access to IdentifierExpr ident and locusPhilip Herron1-1/+1
2020-11-28make ArithmeticOrLogicalExpr visitablePhilip Herron2-0/+6
2020-11-28Add missing bool builtinPhilip Herron1-1/+1
2020-11-28Add a basic lookup for builtin typesPhilip Herron1-6/+31
2020-11-28Add error E0282 when the LetStmt cannot be inferedPhilip Herron1-0/+7
2020-11-28WIP more type inferencing code for LetStmtPhilip Herron2-28/+126
Addresses: #12
2020-11-28need public access on the Literal from LiteralExprPhilip Herron1-1/+2
2020-11-28Setup error handling for infering types in declarationsPhilip Herron2-14/+56
2020-11-28need access to the expression for analysisPhilip Herron1-2/+2
2020-11-28This will now compile a void function declaration to gimplePhilip Herron1-29/+25
-fdump-tree-gimple should provide output of the skeleton function Addresses #19
2020-11-28Fix params printing in DelimTokenTreeNala Ginrut1-23/+17
2020-11-28Fix string literal printing in AST dumpNala Ginrut2-1/+14
2020-11-28Enhance let statement in AST dumpNala Ginrut1-5/+7
2020-11-28This sets up the conversion from AST to GCCPhilip Herron8-475/+1129
It will crash when compiling but its the code setup i want to get in sooner than later. Addresses #15
2020-11-28Revert "Test a clang-format lint"Philip Herron1-15/+0
This reverts commit 3a3c3ca4314534d03db6f6bb8acef24e091285e1.
2020-11-28Test a clang-format lintPhilip Herron1-0/+15
2020-11-28This setups an initial frame work for our resolution step for the pipelinePhilip Herron13-968/+1923
More work is required but it takes advantage of the vistior pattern from the AST so we can do this without RTTI and dynamic_casts. More passes on the AST AKA our HIR should follow this pattern. Addresses: #12
2020-11-28Adding Rust target hook documentationSimplyTheOther36-3514/+3906
Added powerpc target hook and improved aarch64 feature handling Added DEC Alpha target hook Added ARC target hook Created ARM target hook (at least preliminary support)
2020-11-27Fix indentationNala Ginrut35-12580/+14451
2020-11-27Initial target hook constructionSimplyTheOther143-33/+1555
Creation of basic target_os, target_env, target_vendor, and target_family for all GCC targets. Also target_cpu and target_features for i386 - will do target_features for other targets when I can find exactly what is considered a target_feature by rustc
2020-11-27Enhance AST dumpNala Ginrut4-20910/+25723