Ok, I wandered far into unknown territory as i am not a c# (or c++) developer. However i managed to compile this (although with a bunch of warnings) on MacOS High sierra.
First i copied this script and placed in the root directory:
https://github.com/andre-martins/TurboParser/pull/30/files
However this is made for an older version of MacOS... so following this Stackoverflow answer
I first replace libstdc++ with libc++ in the file install_deps-osx.sh only.
After running this script i searched and replaced this for all files in TurboParser:
Original: #include <tr1/unordered_map>
New: #include <unordered_map>
Original: tr1::unordered_map
New unordered_map
Can we maybe update in the master branch? I'd be happy to create a pull request if it would be actually considered and merged. It seems like the one before was not merged for some reason.
There is also some issues with the python wrapper. But i'll create a separate issue for that.
Ok, I wandered far into unknown territory as i am not a c# (or c++) developer. However i managed to compile this (although with a bunch of warnings) on MacOS High sierra.
First i copied this script and placed in the root directory:
https://github.com/andre-martins/TurboParser/pull/30/files
However this is made for an older version of MacOS... so following this Stackoverflow answer
I first replace
libstdc++withlibc++in the fileinstall_deps-osx.shonly.After running this script i searched and replaced this for all files in TurboParser:
Original:
#include <tr1/unordered_map>New:
#include <unordered_map>Original:
tr1::unordered_mapNew
unordered_mapCan we maybe update in the master branch? I'd be happy to create a pull request if it would be actually considered and merged. It seems like the one before was not merged for some reason.
There is also some issues with the python wrapper. But i'll create a separate issue for that.