Skip to content

Implementation of Kaleidoscope language in Swift via LLVM tutorial.

Notifications You must be signed in to change notification settings

khlopko/kaleidoscope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kaleidoscope

Implementation of Kaleidoscope language in Swift.

See https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index.html

List of potential improvements:

  • Make Codegen.expr switch over enum rather than types.
  • Visitor pattern?
  • Make compiler work over static files rather than REPL only.
  • Cover with tests at least parsing part.
    • How to cover codegen?
  • Is it possible to use LLVM directly (without C wrapper) with latest Swift interop?

About

Implementation of Kaleidoscope language in Swift via LLVM tutorial.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published