{
  "id": 20353539,
  "title": "oviev: Building a Compiler in Ovie The Self-Hosting Journey",
  "url": "https://urgent.news/2026/11/17/oviev-building-a-compiler-in-ovie-the-self-hosting-journey",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-17T00:30:29.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/ovielang/oviev-building-a-compiler-in-ovie-the-self-hosting-journey-4lh0"
  },
  "original_language": "en",
  "account": "Compiling a compiler is a significant achievement for any programming language, and Ovie Lang has accomplished this milestone with oviev, the Ovie compiler written entirely in Ovie. The compiler, oviev, is released as part of Ovie Lang 1.0 and runs on the stable Rust compiler.\n\nThe source code for oviev, written in Ovie, resides in the oviev/src/ directory, with corresponding .ov files in the oviec/src/ directory. The lexer, parser, and other components of oviev are all written in Ovie, demonstrating the self-hosting nature of the compiler.\n\nFor example, the lexer in lexer.ov defines token types and maps Ovie keywords to token kinds. The Ovie keywords are hard-coded in the lexer, showcasing the direct integration of language constructs in the compiler's source code.\n\nThe compiler is currently in Stage 1, where it delegates to the Rust-based oviec for compilation. Stage 2 is planned, where oviev will be able to compile its own .ov files without relying on the outer Rust compiler. This self-hosted stage will mark an important transition point in the development of Ovie Lang.\n\nThe significance of this achievement lies in the fact that Ovie can now describe its own compiler using Ovie itself. This indicates that the language is robust enough to handle compiler logic and build real-world applications. The entire compiler test suite in oviev/src/ is a testament to the power and completeness of Ovie's syntax and features.\n\nTo verify the functionality of the compiler, users can use the oviec and oviev commands to run and check various .ov files. So far, all tests have passed, confirming that oviev is functioning as intended.",
  "summary": "One of the milestones of any programming language is when it can compile itself. Ovie Lang 1.0 ships oviev the Ovie compiler written entirely in Ovie (.ov files). Two Compilers, One Language Compiler Language Status oviec Rust Stable use for everything today oviev Ovie (.ov) Stage 1 self-hosted, help test it Both run the same .ov programs: oviec run hello.ov # stable Rust compiler oviev run…",
  "key_points": [
    "Ovie compiler oviev written entirely in Ovie",
    "oviev resides in oviev/src/ directory with .ov files in oviec/src/",
    "Stage 1 compiler delegates to Rust-based oviec for compilation"
  ],
  "editors_take": "Achieving a self-hosting compiler signals that Ovie Lang possesses the necessary robustness and syntactic completeness to manage its own complex logic and move beyond its initial reliance on Rust.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}