Skip to content

Conversation

haya14busa
Copy link
Member

vim-vimlparser can be translated into Python and JavaScript which
convert number to boolean implicitly, but it's difficlut to translate it
into other language which doesn't have implicit type conversion.

I actually created translater to Go (ref: #26) by including this change.
(We need more tweak for Go translater, but this change is one of them)

Using s:TRUE/s:FALSE is better not only for translator, but also for
readability.

vim-vimlparser can be translated into Python and JavaScript which
convert number to boolean implicitly, but it's difficlut to translate it
into other language which doesn't have implicit type conversion.

I actually created translater to Go (ref: vim-jp#26) by including this change.
(We need more tweak for Go translater, but this change is one of them)

Using s:TRUE/s:FALSE is better not only for translator, but also for
readability.
@mattn mattn merged commit 5059253 into vim-jp:master May 29, 2017
@mattn
Copy link
Member

mattn commented May 29, 2017

Thank you

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

Successfully merging this pull request may close these issues.

2 participants