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

add dict class to Lox's standard library #20

Open
zxul767 opened this issue Nov 17, 2022 · 0 comments
Open

add dict class to Lox's standard library #20

zxul767 opened this issue Nov 17, 2022 · 0 comments
Labels
enhancement New feature or request p1

Comments

@zxul767
Copy link
Owner

zxul767 commented Nov 17, 2022

In jlox we already have all the backend support required (introduced when list was implemented), so it should be relatively easy to add (minus support for literals).

In clox the implementation shouldn't be too hard either, but it's a bit more involved since we haven't added list yet. The backing infrastructure is in place, though (namely, table.c)

@zxul767 zxul767 added the enhancement New feature or request label Nov 17, 2022
@zxul767 zxul767 changed the title Add dict class to Lox's standard library add dict class to Lox's standard library Nov 17, 2022
@zxul767 zxul767 added the p1 label Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p1
Projects
None yet
Development

No branches or pull requests

1 participant