onelang / OneLang

MIT License
1.12k stars 84 forks source link

Added foreach in support, and removed C++17 experimental #35

Closed ncoonrod closed 5 years ago

ncoonrod commented 5 years ago

When compiling the generated C++ code using g++, be sure to set -std=c++17.

Before this I wasn't able to do:

    for (let key in mapObj)
    {
        console.log (`Key: ${key}`);
    }
koczkatamas commented 5 years ago

Thanks! :)