Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
94dfbe7
Barely working on 0.6.x (reafactors)
senioritaelizabeth May 3, 2026
f13b140
Update MemberResolver.hx
RapperGF May 6, 2026
279da24
Merge pull request #17 from RapperGF/DEV-Fixes
galleniz May 6, 2026
89a9be5
Patch Number to Bool
RapperGF May 10, 2026
23f288a
Merge pull request #18 from RapperGF/DEV-Fixes
RapperGF May 10, 2026
41b45ab
Patch Invalid Switch-Case Syntax
RapperGF May 10, 2026
31b1890
Patch Early Return Syntax
RapperGF May 10, 2026
d2402f3
Merge pull request #19 from RapperGF/DEV-Fixes
RapperGF May 11, 2026
d3725fc
deleted: docs part
senioritaelizabeth May 11, 2026
e931057
Fix: Add support for anonymous functions with function/func keywords
senioritaelizabeth May 11, 2026
49130e4
Feat: tests
senioritaelizabeth May 11, 2026
315abea
Fix: Add support for default function arguments (Issue #21)
senioritaelizabeth May 11, 2026
8e64d8a
Fix: Switch statements accept both ':' and '=>' syntax
senioritaelizabeth May 11, 2026
3c709a9
Optimization: Hot path improvements and profiling support
senioritaelizabeth May 11, 2026
42d324b
docs: Update TODO.md with completed optimizations
senioritaelizabeth May 11, 2026
7fbff63
Fix: All tests passing + Native object field caching
senioritaelizabeth May 11, 2026
37a6b08
docs: Mark all tasks as completed in TODO.md
senioritaelizabeth May 11, 2026
780ad42
Fix: Safety checks with performance considerations
senioritaelizabeth May 12, 2026
a75975e
Feat: Add compiler optimizations (disabled by default)
senioritaelizabeth May 12, 2026
c799bca
Feat: Export compiler optimization options to Interpreter
senioritaelizabeth May 12, 2026
5e2d940
docs: Update TODO.md with compiler optimizations info
senioritaelizabeth May 12, 2026
851b4a8
Optimization: Add memberById cache to bypass name resolution
senioritaelizabeth May 12, 2026
7ea662b
feat: add GitHub issue and PR templates
senioritaelizabeth May 14, 2026
554c4c5
Optimization: Inline native member access + final keyword alias
senioritaelizabeth May 14, 2026
2169cdb
feat: Add parent scope support and sandbox blocklist for member access
senioritaelizabeth May 14, 2026
c6be0b9
Update: Change parent to be default, set call
senioritaelizabeth May 14, 2026
e4de4ba
revert: deletion of with parent
senioritaelizabeth May 14, 2026
7955a4f
Reorganize test suite and improve parent scope API
senioritaelizabeth May 14, 2026
27c137f
Organize tests into folders + auto-fix package script
senioritaelizabeth May 14, 2026
0d5f052
Update CI and CLI to use new test config path
senioritaelizabeth May 14, 2026
ef29fee
CI: Run all individual test configs instead of just test_suite
senioritaelizabeth May 14, 2026
d4c1bac
Delete basic.nx
senioritaelizabeth May 14, 2026
68dc624
feat(interpreter): add dynamic argument support to call() with Value …
senioritaelizabeth May 14, 2026
c05b01e
feat(interpreter): add dynamic argument for set for IDs
senioritaelizabeth May 14, 2026
6636ba0
docs: fixing nx or
senioritaelizabeth May 15, 2026
5f13dfa
fix(cli): package ahhh keyword
senioritaelizabeth May 15, 2026
a549aed
fix(ci): old test switch case
senioritaelizabeth May 15, 2026
d15db44
again, package
senioritaelizabeth May 15, 2026
bd61239
Update ErrorFormatTest.hx
senioritaelizabeth May 15, 2026
4d9e25c
Update ErrorFormatTest.hx
senioritaelizabeth May 15, 2026
5d934f2
Update ErrorFormatTest.hx
senioritaelizabeth May 15, 2026
c085786
Update ci.yml
senioritaelizabeth May 15, 2026
3a91d28
Fix: natives should take priority over parent fields
senioritaelizabeth May 15, 2026
d6ee30b
Added a reference
torvalds May 15, 2026
5bdac5a
Fix: interp.call() should not resolve parent fields
senioritaelizabeth May 16, 2026
b3c4348
Fix: ErrorFormatTest - use throw instead of division by zero
senioritaelizabeth May 16, 2026
be824ef
feat: latino lang
senioritaelizabeth May 16, 2026
f738c83
upsie
senioritaelizabeth May 16, 2026
9e6d62c
docs: add example files for Latino, NxScript, and Haxe
senioritaelizabeth May 16, 2026
305ac57
docs: translate Haxe and NxScript examples to English
senioritaelizabeth May 16, 2026
cc40315
fix: allow semicolon on next line in strict mode
senioritaelizabeth May 16, 2026
0c2e8f8
Simplify cpp type check to always return 'Object'
MDCYT May 16, 2026
26f6779
Merge pull request #25 from MDCYT/patch-1
galleniz May 16, 2026
2cb98c4
Reverted latino parser
senioritaelizabeth May 21, 2026
793fe1d
Merge branch 'dev' of https://github.com/Kitsumizy/NxScript into dev
senioritaelizabeth May 21, 2026
2a38910
Reverted: Latino parser commit
senioritaelizabeth May 21, 2026
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
77 changes: 77 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
name: Bug Report
about: Report something that isn't working as expected
title: "[BUG] "
labels: bug
assignees: ''
---

- **NxScript version:** ?.?.?
- **Haxe version:** ?.?.?
- **Branch:** Haxelib release / GitHub (main) / GitHub (dev) / Other: `<specify>`
- **Using DCE:** Yes / No / Not sure
- **Affected targets:**

---

## Checklist

- [ ] I tried reproducing this issue using the NxScript parser
- [ ] This issue is parser-specific (skip the above)

---

## What is this related to?

- [ ] Parsers
- [ ] Compiler
- [ ] Runtime (VM / bytecode execution)
- [ ] Interpreter
- [ ] Performance
- [ ] I'm not sure yet

---

## Code snippet reproducing the issue

```haxe
// insert your NxScript code here
```

---

## Observed behavior

---

## Expected behavior

---

## Logs / Console output / Screenshots

> Prefer text logs over screenshots. Use code blocks for console output. Attach a file if the output is too large.

```txt
<output here>
```

---

## Additional information _(optional)_

> Anything that may not be directly related to NxScript: shadowclasses, specific targets, macros, external libraries, unusual setup, etc.

```txt
<additional information>
```

---

## NxScript implementation details _(optional)_

> Only if your setup is unusual.

```haxe
// optional code
```
44 changes: 44 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
name: Feature Request
about: Suggest a new feature or improvement for NxScript
title: "[FEATURE] "
labels: enhancement
assignees: ''
---

- **NxScript version:** ?.?.?
- **Branch:** Haxelib release / GitHub (main) / GitHub (dev) / Other: `<specify>`

---

## What problem does this solve?

> Describe the problem or limitation you're running into. What are you trying to do that you can't right now?

---

## Proposed solution

> Describe the feature you'd like. Be as specific as you can.

---

## Alternatives considered _(optional)_

> Have you tried any workarounds? Are there other ways this could be solved?

---

## Example usage _(optional)_

> Show how this feature would look in practice.

```haxe
// example code
```

---

## Additional context _(optional)_

> Anything else that might be relevant: related issues, links, prior art in other scripting languages, etc.
63 changes: 63 additions & 0 deletions .github/ISSUE_TEMPLATE/rfc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
name: RFC (Request for Comments)
about: Propose a significant change or new design to NxScript
title: "[RFC] "
labels: rfc
assignees: ''
---

> **RFCs are for significant changes** — new language features, breaking changes, architecture decisions. For small improvements, use a Feature Request instead.

---

- **NxScript version this targets:** ?.?.?
- **Breaking change:** Yes / No / Maybe

---

## Summary

> One or two sentences describing the proposal.

---

## Motivation

> Why is this change needed? What problem does it solve? Who benefits and how?

---

## Detailed design

> Explain the proposal in enough detail that someone could implement it. Include:
> - How it works
> - API / syntax changes (if any)
> - How it interacts with existing features

```haxe
// example of proposed behavior
```

---

## Drawbacks

> What are the downsides or risks of this proposal? What does it make harder?

---

## Alternatives considered

> What other approaches were considered and why were they rejected?

---

## Unresolved questions

> What parts of the design are still uncertain or need feedback from the community?

---

## Additional context _(optional)_

> Links, prior art, related issues, benchmarks, etc.
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: Support / Question
about: Ask a question or get help with NxScript
title: "[SUPPORT] "
labels: question
assignees: ''
---

> **Heads up:** For quick questions, consider asking in our [Haxe Thread on Discord](https://discord.gg/pWxqJrfXNW) first — you'll likely get a faster answer there.

---

- **NxScript version:** ?.?.?
- **Haxe version:** ?.?.?
- **Branch:** Haxelib release / GitHub (main) / GitHub (dev) / Other: `<specify>`

---

## What are you trying to do?

---

## What have you tried so far?

---

## Relevant code _(optional)_

```haxe
// insert your NxScript code here
```

---

## Logs / Console output _(optional)_

```txt
<output here>
```

---

## Additional context _(optional)_
42 changes: 42 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
## What does this PR do?

> Brief description of the change.

Closes #<!-- issue number, if applicable -->

---

## Type of change

- [ ] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Refactor / cleanup
- [ ] Documentation
- [ ] Other: `<specify>`

---

## Checklist

- [ ] My code follows the project's style guidelines
- [ ] I've tested this on at least one target
- [ ] I've added or updated tests where relevant
- [ ] I've updated documentation where relevant
- [ ] This PR is ready for review (remove if draft)

---

## How to test

> Steps to verify this works as expected.

```haxe
// example or repro case
```

---

## Additional notes _(optional)_

> Anything reviewers should know: tradeoffs made, things intentionally left out, follow-up work, etc.
40 changes: 36 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,42 @@ jobs:
- name: Install nxscript from local source
run: haxelib dev nxscript src/

- name: Run main test suite
- name: Run basic tests
working-directory: test/tests
run: haxe test_suite.hxml
run: haxe config/basic.hxml

- name: Run static + preprocessor tests
- name: Run classes tests
working-directory: test/tests
run: haxe static_preprocessor.hxml
run: haxe config/classes.hxml

- name: Run methods tests
working-directory: test/tests
run: haxe config/methods.hxml

- name: Run switch/case tests
working-directory: test/tests
run: haxe config/switchcases.hxml

- name: Run bugfix regression tests
working-directory: test/tests
run: haxe config/bugfix.hxml

- name: Run import tests
working-directory: test/tests
run: haxe config/imports.hxml

- name: Run error format tests
working-directory: test/tests
run: haxe config/errors.hxml

# - name: Run Haxe parser tests
# working-directory: test/tests
# run: haxe config/haxeparser.hxml

- name: Run bridge/using tests
working-directory: test/tests
run: haxe config/bridge_using.hxml

- name: Run static/preprocessor tests
working-directory: test/tests
run: haxe config/static_preprocessor.hxml
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,5 @@ node_modules/
!bin/cppSwitch_scriptbench/
!bin/cppSwitch_scriptbench/wrapper_src
!bin/cppSwitch_scriptbench/wrapper_src/**
/test/bench/cpp
image.png
Loading
Loading