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)
In
jlox
we already have all the backend support required (introduced whenlist
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 addedlist
yet. The backing infrastructure is in place, though (namely,table.c
)