kin-lang / kin

The Kin Programming Language ( Write computer programs in Kinyarwanda - native language for Rwandans )
https://kinlang.dev
MIT License
209 stars 11 forks source link

[REFACTOR] : folders arrangement for in-built methods #77

Open pacifiquem opened 8 months ago

pacifiquem commented 8 months ago

For now, every in-built function is in ./src/runtime/globals.ts file.

This is not good because it's not easy to find what you want to work on or view.

Solution:

We'll add in-built folder in the runtime, each method and it's associated functions will be added to their own file, all in built methods will be imported in ./src/runtime/globals.ts where their will be added to the global environment env for use.