bajdcc / clibparser

General LR Parser(CMake,C++)
GNU General Public License v2.0
63 stars 18 forks source link

How to build clibparser on Ubuntu WSL platform #1

Open NablaCFD opened 5 years ago

NablaCFD commented 5 years ago

Hello Chen,

This is a great job. In fact, I am looking for a interpret platform of C programming language, which will make the C programming langrage run as Python style. This feature will bring a lot of benefits for teach a child to learn C programming. I have found that there is an excellent example like C0 at CMU, please refer to the website http://c0.typesafety.net/downloads.html. But to me, C0 has be a bit simple and need a extra strive to extend to C programming, thus I am looking for a port of the full C language but as a interpret style and found your codes. I am not sure whether your codes have that a quality to complete my targets. In addition, I have tried to build your codes on ubuntu of WSL1 of Windows 10 platform, unfortunately, I failed to compiled it. If possible, could you give me an instruction in details on how to compile it, in particularly, on how to solve dependencies.

Best regards, Qiang

bajdcc commented 5 years ago

Hi, Qiang. You can see GameFramework, this project uses clibparser. GameFramework works on any windows platform(win7,win10,server 2012). clibparser has many bugs, I fixed them at GameFramework. GameFramework binaries can be downloaded at appveyor.com. However, you can build it successfully using VS2019. I use CLion to build clibparser(Win or Mac), it need to include OpenGL files. GameFramework uses Direct2D, so it runs more quickly.