RioChndr / jaksel-language

Jaksel Script, Programming language very modern and Indonesian style
MIT License
927 stars 91 forks source link

Refactor code #21

Closed reacto11mecha closed 2 years ago

reacto11mecha commented 2 years ago

This pull request is just refactoring code and a little bit of a change. I think we should refactor the code before getting bigger and more complicated. It provides better readability and maintainability.

RioChndr commented 2 years ago

Thank your for refactor this project.🤩🤩 Love it

RioChndr commented 2 years ago

I got error when run this command

> node jaksel-interpreter.js example/example2.jaksel 
undefined:5
let isHidup = positive vibes;
                       ^^^^^

SyntaxError: Unexpected identifier

Looks like function valueTransform failed to transform boolean value

reacto11mecha commented 2 years ago

Okay i will fix it after school, thank you for detecting this problem

reacto11mecha commented 2 years ago

I have fixed this problem, now it should be working as intended

RioChndr commented 2 years ago

thank you so much for your hard working. This is very usefull