Skip to content

Commit 76c4e15

Browse files
committed
Prepare for 0.3.0 release by updating documentation and versioning
1 parent 5221e90 commit 76c4e15

15 files changed

Lines changed: 123 additions & 443 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ body:
99
Thanks for reporting a bug in **PyLua v0.3**.
1010
1111
Please include a minimal repro and exact environment so we can reproduce. PyLua targets Python 3.12 and below.
12-
Docs: https://github.com/OMouta/PyLua/blob/master/docs/README.md • Roadmap: https://github.com/OMouta/PyLua/blob/master/internalDocs/REWRITE_PLAN.md
12+
Docs: https://github.com/OMouta/PyLua/blob/master/docs/README.md • Roadmap: https://github.com/OMouta/PyLua/blob/master/internalDocs/ROADMAP.md
1313

1414
- type: dropdown
1515
id: version
1616
attributes:
1717
label: "PyLua Version"
1818
description: "Which version/build are you on?"
1919
options:
20-
- "v0.3.x (current rewrite in src/PyLua)"
20+
- "v0.3.x (current; src/PyLua)"
2121
- "v0.2 (legacy; see docs/0.2)"
2222
- "Custom build/fork"
2323
- "Not sure"
@@ -109,8 +109,8 @@ body:
109109
id: commit
110110
attributes:
111111
label: "PyLua Commit or Version"
112-
description: "Example: 0.3.0-dev2 or commit SHA"
113-
placeholder: "0.3.0-dev2 / a1b2c3d"
112+
description: "Example: 0.3.0 or commit SHA"
113+
placeholder: "0.3.0 / a1b2c3d"
114114
validations:
115115
required: false
116116

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ contact_links:
33
- name: Documentation (public)
44
url: https://github.com/OMouta/PyLua/blob/master/docs/README.md
55
about: Read the docs for usage, architecture, and examples
6-
- name: Development Plan
7-
url: https://github.com/OMouta/PyLua/blob/master/internalDocs/REWRITE_PLAN.md
8-
about: Check the current development phase and roadmap
6+
- name: Roadmap
7+
url: https://github.com/OMouta/PyLua/blob/master/internalDocs/ROADMAP.md
8+
about: Check planned milestones and future work
99
- name: Contributing Guide
1010
url: https://github.com/OMouta/PyLua/blob/master/CONTRIBUTING.md
1111
about: Learn how to contribute to PyLua v0.3

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ body:
99
Thanks for proposing a feature for **PyLua v0.3**.
1010
1111
Please check the docs/roadmap to ensure fit with Python 3.12 compliance and current phases.
12-
Docs: https://github.com/OMouta/PyLua/blob/master/docs/README.md • Roadmap: https://github.com/OMouta/PyLua/blob/master/internalDocs/REWRITE_PLAN.md
12+
Docs: https://github.com/OMouta/PyLua/blob/master/docs/README.md • Roadmap: https://github.com/OMouta/PyLua/blob/master/internalDocs/ROADMAP.md
1313
1414
- type: dropdown
1515
id: feature-type
@@ -30,7 +30,7 @@ body:
3030
- type: dropdown
3131
id: development-phase
3232
attributes:
33-
label: "Phase Alignment (from REWRITE_PLAN)"
33+
label: "Phase Alignment (from ROADMAP)"
3434
options:
3535
- "Phase 1: Foundation (lexer, tokens, AST)"
3636
- "Phase 2: Parser (expressions, statements, postfix)"
@@ -139,7 +139,7 @@ body:
139139
options:
140140
- label: "Searched existing issues"
141141
required: true
142-
- label: "Reviewed REWRITE_PLAN.md for phase fit"
142+
- label: "Reviewed ROADMAP.md for phase fit"
143143
required: true
144144
- label: "Provided motivation and (if possible) example"
145145
required: true

.github/ISSUE_TEMPLATE/question.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ body:
1111
**Before asking**: Please check the documentation first:
1212
- [docs/README.md](https://github.com/OMouta/PyLua/blob/master/docs/README.md) - Documentation index
1313
- [internalDocs/README.md](https://github.com/OMouta/PyLua/blob/master/internalDocs/README.md) - Internal docs overview
14-
- [internalDocs/REWRITE_PLAN.md](https://github.com/OMouta/PyLua/blob/master/internalDocs/REWRITE_PLAN.md) - Current development status
14+
- [internalDocs/ROADMAP.md](https://github.com/OMouta/PyLua/blob/master/internalDocs/ROADMAP.md) - Planned future work
1515
- [CONTRIBUTING.md](https://github.com/OMouta/PyLua/blob/master/CONTRIBUTING.md) - Development guidelines
1616
1717
We're here to help! Please provide as much context as possible.
@@ -112,7 +112,7 @@ body:
112112
placeholder: |
113113
- OS: Windows 11 / macOS 14 / Ubuntu 22.04
114114
- Roblox Studio Version:
115-
- PyLua Version: v0.3 rewrite / v0.2 legacy
115+
- PyLua Version: v0.3.x / v0.2 legacy
116116
- Luau Version (if applicable):
117117
value: |
118118
- OS:

.github/instructions/pylua0.3.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ See `docs/INTEROP.md` for planned full two-way binding features.
181181
- **`docs/OBJECTS.md`**: Python object model implementation details
182182
- **`docs/BYTECODE.md`**: Instruction set reference
183183
- **`docs/examples/`**: Working code samples
184-
- **`internalDocs/REWRITE_PLAN.md`**: Implementation checklist and phase tracking
184+
- **`internalDocs/ROADMAP.md`**: Planned milestones and future work
185185

186186
## Quick Reference: Key Files
187187

.vscode/extensions.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"recommendations": [
33
"johnnymorganz.luau-lsp",
4-
"JohnnyMorganz.stylua",
54
"tamasfe.even-better-toml",
65
"github.copilot"
76
]

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Contributing to PyLua
22

3-
Thank you for your interest in contributing to PyLua! This document provides guidelines and information for contributors to the PyLua v0.3 rewrite project.
3+
Thank you for your interest in contributing to PyLua! This document provides guidelines and information for contributors to the PyLua v0.3 project.
44

55
## Project Overview
66

7-
PyLua v0.3 is a complete rewrite of the Python interpreter for Luau/Roblox. We're building a production-quality Python 3.12-compliant interpreter following CPython's design principles with a Lupa-inspired API.
7+
PyLua v0.3 is a production-quality Python interpreter for Luau/Roblox. We follow CPython's design principles with a Lupa-inspired API.
88

9-
**Important**: We are currently in a major rewrite phase. Please read the [internalDocs/REWRITE_PLAN.md](./internalDocs/REWRITE_PLAN.md) to understand the current development phase and architecture goals.
9+
Please read the [internalDocs/ROADMAP.md](./internalDocs/ROADMAP.md) to understand planned milestones and longer-term goals.
1010

1111
## Getting Started
1212

@@ -41,7 +41,7 @@ PyLua v0.3 is a complete rewrite of the Python interpreter for Luau/Roblox. We'r
4141

4242
3. **Understand the Architecture**
4343
- Read [internalDocs/README.md](./internalDocs/README.md) for documentation overview
44-
- Review [internalDocs/REWRITE_PLAN.md](./internalDocs/REWRITE_PLAN.md) for current phase
44+
- Review [internalDocs/ROADMAP.md](./internalDocs/ROADMAP.md) for upcoming work
4545
- Study [internalDocs/LANGUAGE_IMPLEMENTATION.md](./internalDocs/LANGUAGE_IMPLEMENTATION.md) for technical background
4646

4747
4. **Set Up Development Environment**
@@ -62,7 +62,7 @@ PyLua v0.3 is a complete rewrite of the Python interpreter for Luau/Roblox. We'r
6262

6363
#### Feature Requests
6464

65-
- Review the rewrite plan to ensure alignment with project goals
65+
- Review the roadmap to ensure alignment with project goals
6666
- Use the feature request template
6767
- Consider Python 3.12 compliance requirements
6868
- Discuss major features in issues before implementation
@@ -198,7 +198,7 @@ end
198198

199199
### What to Focus On
200200

201-
- **Current phase priorities** from the rewrite plan
201+
- **Roadmap priorities** for upcoming work
202202
- **Python 3.12 compliance** and below
203203
- **Clean, maintainable code** with proper separation of concerns
204204
- **Comprehensive testing** for reliability

README.md

Lines changed: 33 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,55 @@
1-
# PyLua - Embedded Python Interpreter for Luau
1+
# PyLua - Embedded Python for Luau
22

3-
> Notice: For v0.2 docs, see [docs/0.2/README.md](docs/0.2/README.md).
3+
> For v0.2 docs, see [docs/0.2/README.md](docs/0.2/README.md).
44
5-
PyLua lets you run Python inside Luau (e.g., Roblox). The v0.3 rewrite is a proper interpreter built in Luau with a CPython-inspired design.
5+
Run Python inside Luau (e.g., Roblox). PyLua 0.3 is a compact, CPython‑inspired interpreter you can embed in Luau projects.
66

7-
## What is it?
7+
## Highlights
88

9-
- A Python 3.12-and-below interpreter implemented in Luau
10-
- Runs on [Lute] and other Luau-compatible runtimes
11-
- Embeddable API for executing/evaluating Python and sharing values via `globals()`
9+
- Python 3.12 (and below) semantics where practical
10+
- Works with [Lute] and Luau runtimes (Roblox Studio, etc.)
11+
- Simple API: execute/eval and share values via `globals()`
12+
- CPython‑style pipeline (lexer → parser → AST → bytecode → VM)
1213

13-
## Use cases
14+
## Quick start
1415

15-
- Author gameplay logic in Python while running on Luau
16-
- Build modding hooks: expose Luau callbacks to Python scripts
17-
- Teach/prototype Python inside Roblox-like environments
18-
- Explore interpreter architecture (tokens → AST → bytecode → VM)
16+
Run an example from the repo root (requires Lute in PATH):
1917

20-
## How it’s built
21-
22-
Interpreter pipeline:
18+
```powershell
19+
lute examples/hello_world.luau
20+
```
2321

24-
- Lexer → Parser → AST → Compiler → Bytecode → VM
22+
Embed and run a bit of Python:
2523

26-
Key modules (see `src/PyLua/`):
24+
```lua
25+
local PyLua = require("./src/PyLua")
26+
local py = PyLua.new()
2727

28-
- `lexer.luau`, `parser/` – Python-compliant tokenization and parsing
29-
- `compiler.luau` – compile AST to bytecode
30-
- `vm/` – stack-based virtual machine
31-
- `objects/` – Python object model
32-
- `builtins/` – core built-in functions and types
28+
py:execute([[x = 2 + 3]])
29+
print(py:getGlobal("x")) -- 5
3330

34-
## Status
31+
local result = py:eval("sum([1, 2, 3])")
32+
print(result) -- 6
33+
```
3534

36-
- Version: `0.3.0-dev3`
37-
- Target: Python 3.12 syntax and below (3.13+ out of scope)
38-
- Roadmap: `internalDocs/REWRITE_PLAN.md`
35+
## Docs and examples
3936

40-
## Get started
37+
- Docs index: `docs/README.md`
38+
- Architecture overview: `docs/ARCHITECTURE.md`
39+
- Examples: `examples/`
4140

42-
See docs and examples for usage and API details:
41+
## Status
4342

44-
- Docs home: `docs/README.md`
45-
- Examples: `docs/examples/`
43+
- Version: `0.3.0`
44+
- Target: Python 3.12 and below (3.13+ out of scope)
45+
- Roadmap: `internalDocs/ROADMAP.md`
4646

47-
You can also quickly try an example with Lute from the repo root:
47+
## Contributing
4848

49-
```bash
50-
lute examples/hello_world.luau
51-
```
49+
Issues and PRs welcome. See `CONTRIBUTING.md` for guidelines.
5250

5351
## License
5452

55-
MIT - see [`LICENSE`](./LICENSE).
53+
MIT see [`LICENSE`](./LICENSE).
5654

5755
[Lute]: https://github.com/luau-lang/lute

docs/ARCHITECTURE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ Python Source → Lexer → Parser → AST → Compiler → Bytecode → VM →
3535

3636
---
3737

38-
See also: [REWRITE_PLAN.md](../internalDocs/REWRITE_PLAN.md) for detailed milestones and checklists.
38+
See also: [ROADMAP.md](../internalDocs/ROADMAP.md) for planned milestones and future work.

docs/LIMITATIONS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Current Limitations (0.3.0-dev3)
1+
# Current Limitations (0.3.0)
22

33
A practical subset is implemented; some features are deferred or partial:
44

55
- Interop: `PyLua.registerClassBinding` now exposes richer Luau ↔ Python object mapping; automatic discovery for complex userdata/metatable hierarchies remains pending
66

7-
Track progress in [REWRITE_PLAN.md](../internalDocs/REWRITE_PLAN.md).
7+
See planned improvements in the [ROADMAP](../internalDocs/ROADMAP.md).

0 commit comments

Comments
 (0)