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

変数をObjectからMapに変更する #152

Open
kujirahand opened this issue Apr 29, 2024 · 4 comments
Open

変数をObjectからMapに変更する #152

kujirahand opened this issue Apr 29, 2024 · 4 comments

Comments

@kujirahand
Copy link
Owner

内部変数の管理をObjectからMapに変更する

kujirahand/nadesiko3#1638

@kujirahand
Copy link
Owner Author

試してみたところ、簡単な変換では無理で、相当な書き換えが発生することが判明しました。
ブランチ conv_var_obj2map にて作業を行います。

@kujirahand
Copy link
Owner Author

所感:めちゃくちゃ大変だった

@kujirahand
Copy link
Owner Author

結局以下がエラーになる。

変数 constructor = 0

@kujirahand kujirahand reopened this Apr 30, 2024
@kujirahand
Copy link
Owner Author

nako_lexer.preDefineFuncでreservedWordsに変換している部分で、constructorが予約語と勘違いされているために発生するバグだった。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant