Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REPL not properly retaining state in between statements #28

Open
Lut99 opened this issue Jan 6, 2023 · 1 comment
Open

REPL not properly retaining state in between statements #28

Lut99 opened this issue Jan 6, 2023 · 1 comment
Labels
bug Something isn't working dsl Something that relates to one of Brane's domain-specific languages (BraneScript / Bakery)

Comments

@Lut99
Copy link
Member

Lut99 commented Jan 6, 2023

Currently, the BraneScript REPL is very bad at remembering compilation state in between statements.

As a quick example, this works when provided in one go:

let test := null;
test := 42;

But when providing these statements separately in the REPL, you will see compile errors.

Fixing this issue properly would require changing the compilation to be much more aware that the REPL exists. This will be some work.

@Lut99 Lut99 added bug Something isn't working dsl Something that relates to one of Brane's domain-specific languages (BraneScript / Bakery) labels Jan 6, 2023
@Lut99
Copy link
Member Author

Lut99 commented Jun 12, 2024

This has improved over time, but still occurs sometimes. Please mention in this issue any occurrences of this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dsl Something that relates to one of Brane's domain-specific languages (BraneScript / Bakery)
Projects
None yet
Development

No branches or pull requests

1 participant