Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Program #30

Open
wants to merge 29 commits into
base: main
Choose a base branch
from
Open

Run Program #30

wants to merge 29 commits into from

Conversation

KevinOnFrontEnd
Copy link
Owner

@KevinOnFrontEnd KevinOnFrontEnd commented Jan 23, 2024

The first attempt at getting a sexp program to run resulted in errors in the tree. This meant that the IR reader may have contained errors. This PR contains the remaining work needed to run a sexp program.

Bindings

  • Brun
  • Brun Tests
  • Run
  • Run Tests

NodePath

  • add
  • first
  • rest
  • repr
  • str

PatternMatch

  • UnifyBindings
  • UnifyBindings Tests
  • Match
  • Match Tests

Mod

  • Buildtree
  • BuildTree Tests
  • BuildTreeProgram
  • BuildTreeProgram tests
  • Flattern
  • flattern tests
  • BuildUsedConstantsNames
  • BuildUsedConstantsNames tests
  • ParseInclude
  • parseinclude tests
  • UnquoteArgs
  • unquoteargs tests
  • DefunInlineMacro
  • DefunInlineMacro tests
  • ParseModSexp
  • ParseModSexp tests
  • CompileModStage1
  • CompileModStage1 tests
  • SymbolTableForTree
  • SymbolTableForTree tests
  • BuildMacroLookupProgram
  • BuildMacroLookupProgram tests
  • CompileFunctions
  • CompileFunctions tests
  • CompileMod
  • CompileMod tests

Helpers

  • Quote
  • QuoteTests
  • Eval
  • Eval Tests
  • Run
  • Run Tests
  • Brun (can pickup anytime)
  • Brun Tests

Compile

  • CompileQQ
  • CompileMacros
  • CompileSymbols
  • LowerQuote
  • DoComProg
  • MakeDoCom

Defaults

  • DEFAULT_MACROS_SRC
  • DEFAULT_MACROS_SRC Tests
  • build_default_macro_lookup
  • build_default_macro_lookup tests
  • default_macro_lookup (can pickup anytime)
  • default_macro_lookup tests

Operators

  • DoRead
  • DoRead Tests
  • DoWrite - Dependant on DisassembleToIR
  • DoWrite Tests
  • RunProgramForSearchPaths
  • RunProgramForSearchPaths Tests

Optimize

  • nonNil
  • SeemsConstant
  • ConstantOptimizer (can pickup any time)
  • IsArgsCall
  • ConsQAOptimizer
  • ConsF
  • ConsR
  • PathFromArgs
  • SubArgs
  • VarChangeOptimizerConsEval
  • ChildrenOptimizer (relies on pattern match)
  • ConsOptimizer (relies on pattern match)
  • PathOptimizer (relies on pattern match)
  • QuoteNullOptimizer (relies on pattern match)
  • ApplyNullOptimizer (relies on pattern match)
  • OptimizeSexp
  • MakeDoOpt (relies on pattern match)

@KevinOnFrontEnd KevinOnFrontEnd changed the title Added Program to run a built sexp tree First Attempt at adding a way of running a program (Sexp tree) Jan 23, 2024
@KevinOnFrontEnd KevinOnFrontEnd changed the title First Attempt at adding a way of running a program (Sexp tree) Adding Tests for IRReader Jan 24, 2024
@KevinOnFrontEnd KevinOnFrontEnd changed the title Adding Tests for IRReader Run Program Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant