Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,29 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- World and package discovery (`DiscoverWorlds`, `DiscoverPackage`) read the WIT
with the AST parser instead of line-based regular expressions, so versioned
packages (`package wasi:cli@0.2.0;`), commented-out declarations, several
declarations on one line and `use`, `variant` or `flags` declarations are
handled. A file that does not parse is now an error naming the file instead of
being skipped silently.
- The AST parser moved to `tools/common/wit/ast` (shared on `main`, so other
language plugins can use it).

## [0.3.1] - 2026-09-20

### Added

- Support for WIT `resource` declarations in AST parser (`tools/please_wit/ast`).
- Support for `constructor`, instance methods, and `static` functions inside resource blocks.
- Resource interface generation across Kotlin, Swift, TypeScript, Python, Rust, Go, and C++ code generators.
- Support for WIT `resource` declarations in AST parser
(`tools/please_wit/ast`).
- Support for `constructor`, instance methods, and `static` functions inside
resource blocks.
- Resource interface generation across Kotlin, Swift, TypeScript, Python, Rust,
Go, and C++ code generators.

## [0.3.0] - 2026-09-19

Expand Down
2 changes: 1 addition & 1 deletion docs/wit/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ access.

## 2. Standalone Go AST Parser Architecture

`please_wit` embeds a lightweight lexer and parser in `tools/please_wit/ast`:
`please_wit` embeds a lightweight lexer and parser in `tools/common/wit/ast`:

```mermaid
flowchart LR
Expand Down
21 changes: 0 additions & 21 deletions tools/please_wit/ast/BUILD

This file was deleted.

152 changes: 0 additions & 152 deletions tools/please_wit/ast/ast.go

This file was deleted.

178 changes: 0 additions & 178 deletions tools/please_wit/ast/ast_test.go

This file was deleted.

Loading
Loading