How abh80/zenith works
Project type and purpose
• This is a compiler‐style project (a “transpiler”) written in Scala, built with sbt.
• Purpose: read source code in the new language, perform lexing and parsing into an AST, then emit equivalent code in one or more target languages.
File structure
• Top level:
• build.sbt and project/* → sbt build configuration
• src/main/scala → all compiler code, divided into three packages:
– ast → definitions of AST node types
– syntax → Reader, Lexer, Parser, and Context (parsing pipeline)
– util → supporting utilities (character handling, error/Problem reporting, Result wrappers)
• No codegen package yet, but the AST is defined to be a foundation for later transpilation.
README
• Confirms “Yet another programming language portable to other languages (Transpiler precisely).”