Skip to content

V0.3.3#9

Merged
ecocee merged 4 commits intomainfrom
v0.3.3
Mar 5, 2026
Merged

V0.3.3#9
ecocee merged 4 commits intomainfrom
v0.3.3

Conversation

@ecocee
Copy link
Copy Markdown
Owner

@ecocee ecocee commented Mar 5, 2026

This pull request introduces and documents the new production-ready server standard library module for Kode, updates the module system documentation to reflect the new import resolution order, and standardizes the use of the fn keyword (removing func) throughout the codebase and documentation. It also updates project metadata (authors, copyright, version), adds comprehensive server module documentation and examples, and clarifies the project status and roadmap.

Server module and module system updates:

  • Added a new production-ready server standard library module, including documentation, usage examples, and a sample HTTP server in examples/http_server/main.kode. The server module provides HTTP routing, middleware, response helpers, and static file serving, all backed by Go's net/http (docs/syntax.md, examples/http_server/main.kode, docs/MODULES.md, docs/PROJECT_STATUS.md, docs/roadmap.md). (Fc2db23fL1368R1523, [1] F0a69259L335R350, [2] [3] [4] [5] [6]
  • Updated module import resolution order: modules are now resolved as current directory → stdlib/ (for standard library) → project directory. Documentation and status tables updated accordingly (docs/MODULES.md, docs/PROJECT_STATUS.md). (F0a69259L335R350, docs/PROJECT_STATUS.mdL155-R156)

Language and codebase consistency:

  • Standardized the function keyword to fn (removing func) across all documentation and example code, including modules, error handling, and concurrency examples (examples/advanced_modules.kode, examples/basic.kode, examples/calculator.kode, examples/concurrency.kode, examples/error_handling.kode, docs/PROJECT_STATUS.md, docs/syntax.md). [1] [2] [3] [4] [5] [6] [7]

Project metadata and documentation:

  • Updated project authorship and copyright across documentation and the LICENSE file to "ECOCEE" and year 2026 (LICENSE, docs/roadmap.md, docs/syntax.md). [1] [2] [3] [4] [5]
  • Updated version numbers and project status in all relevant documentation to v0.3.4, reflecting the new features and completed milestones (docs/PROJECT_STATUS.md, docs/wiki.md, docs/roadmap.md). [1] [2] [3] [4]

Miscellaneous improvements:

  • Fixed and clarified documentation for module limitations, planned features, and GitHub repository URLs (docs/MODULES.md, docs/wiki.md). [1] [2] [3]
  • Added new documentation sections and improved navigation for both modules and the server module in the syntax reference (docs/syntax.md). (docs/syntax.mdR26, Fc2db23fL1368R1523)

ecocee added 4 commits March 5, 2026 23:25
- Updated repository references in documentation to reflect the new project name.
- Modified the `build` command to support project mode, allowing builds without specifying a file if `kode.toml` is present.
- Enhanced the `new` command to create a structured project layout, including `src/`, `main.kode`, and `kode.toml` with default configurations.
- Implemented automatic project entry point detection in the `run` command, enabling execution without file arguments when a project is detected.
- Improved the `typer` to support additional native module namespaces.
- Updated `.gitignore` files to reflect Kode build artifacts and project structure.
- Revised example `main.kode` to demonstrate project usage and structure.
- Created a new `project.go` file to handle project configuration loading and defaults.
- Added a README.md for the test project to guide users on usage and structure.
@ecocee ecocee merged commit 4c6e7b8 into main Mar 5, 2026
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