jinko-core / jinko

Jinko is a small and safe interpreted language with fast Rust and C FFI
GNU General Public License v2.0
32 stars 6 forks source link

Repl does not include standard library properly #332

Open CohenArthur opened 2 years ago

CohenArthur commented 2 years ago

jinko -v => v0.2.0

CohenArthur commented 2 years ago

To resolve this issue cleanly, the ctx should keep track of the type_ctx instead of the other way around. This a big refactor and relates to the "visitor pattern" used in jinko