chore: initialize NexaCore compiler workspace with basic frontend and CLI

Add initial project structure for NexaCore programming language compiler:
- Create Cargo workspace with 4 crates (cli, driver, frontend, runtime)
- Add lexer with indentation-based tokenization and keyword support
- Add parser for modules, functions, structs, and basic expressions
- Implement CLI with build command and placeholder subcommands
- Add driver crate to orchestrate compilation pipeline
- Include .gitignore for Rust build
This commit is contained in:
2026-04-06 16:57:54 +02:00
commit 0da224325a
17 changed files with 1704 additions and 0 deletions

15
README.md Normal file
View File

@@ -0,0 +1,15 @@
# NexaCore
NexaCore is a new compiled programming language for backend systems, APIs, databases, and long-running services.
This repository contains:
- the language design foundation
- the compiler workspace
- the runtime and standard library layout
- starter examples for backend-oriented development
The first MVP compiler path compiles NexaCore source into a typed intermediate representation and then emits C as the initial backend target. That keeps the compiler realistic to build now while preserving a clean path toward a later native backend.
See [docs/nexacore-foundation.md](/mnt/c/Users/neste/Documents/GIT/NexaCore/docs/nexacore-foundation.md) for the architectural design and MVP roadmap.