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

WIP: REPL improvements #277

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

WIP: REPL improvements #277

wants to merge 7 commits into from

Conversation

WriteNaN
Copy link
Contributor

@WriteNaN WriteNaN commented May 2, 2024

closes #218 #223 #217

@WriteNaN WriteNaN marked this pull request as draft May 2, 2024 06:52
std.ComptimeStringMap -> std.StaticStringMap(T).initComptime()

semver check

switch should return a default value

update README

format to pass linting test
@giann
Copy link
Collaborator

giann commented May 2, 2024

If you're interested in contributing to buzz, don't hesitate to join the discord too

while (true) {
const read_source = ln.linenoise("> ");

// quick check to prevent segfault.
const fmt = std.fmt.allocPrint(allocator, "{any}", .{read_source}) catch continue;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quite a lot of work here to do a simple thing. The issue was actually that I forgot the ? in lineoise return type:

Here's the fix -> fd9e5a4

@WriteNaN
Copy link
Contributor Author

WriteNaN commented May 23, 2024

sorry this has been delayed a bit, I'll get on it ASAP!

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.

Handle multiline REPL input
2 participants