3 ms·
I am dreaming of something similar. I'd like to see a simple language wich looks a bit like python and compiles to C++. The central part of this language would
by yoodenvranx 12y ago
I am dreaming of something similar. I'd like to see a simple language wich looks a bit like python and compiles to C++. The central part of this language would be an integrated package manager / module system which replaces make / cmake. Why should I need make? I just want to tell the compiler the file with main() and then it should figure the rest on it's own.
The one thing which stops me from writing more c++ is all the setup you have to do to actually get an executable. In python I can just create a file, import some stuff and run it. In C++ I have to deal with makefiles, vs projects, paths and all that crap. Just give me a C++ where I can write "import boost.xyz" and the compiler figures out what that means.
- seabrookmx 12y agoHave you checked out http://nimrod-lang.org/ http://nimrod-lang.org/ ? It compiles to C though, not C++.
- possibilistic 12y agoGot a way for me to contact you? I'll cc you with a github link if/when I get around to this. Would love early design feedback. Alternatively, you can email me from the info in my profile. No worries if not interested, of course.
- film42 12y agoActually, I put a c++ project template together to solve this exact problem. It uses cmake to generate a makefile (including IDE projects that just work), and google mock for testing. You still have to add libraries like boost to the CMakeLists.txt if you want to use it, but it's really easy. Just follow the examples in the project. Github: https://github.com/film42/cpp-starter-template/ https://github.com/film42/cpp-starter-template/