You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The logic in this module is written in javascript, but the translation strings and transifex integration are valuable features that are not necessarily tied to javascript. It would be great if we could use osrm-text-instructions in a native environment for example. A C++ port of this project would make this possible. A similar port of osrm-ti exists for iOS/macOS: https://github.com/Project-OSRM/osrm-text-instructions.swift/.
Approach
rewrite the main functions in c++
compile
tokenize
more as needed
write node bindings so we can use the existing js tests
The text was updated successfully, but these errors were encountered:
I hope this will be started as separate repository and this one will continue to follow KISS? 😉
Actually I don't know who may need such "universal" C++ port (then why not C?) at all. Each product has its own resources format, why don't simple take original (and well-tested) JSONs and convert them as Swift port does? What's the problem to translate index.js code to your favorite language, it's simple and well- (ok, almost 😉) -commented (although this seems to be the problem for PHP developers 😟)?
@yuryleb I think this will probably become a separate repo similar to the swift one, but for now I'm working on a branch in this project to get started.
The logic in this module is written in javascript, but the translation strings and transifex integration are valuable features that are not necessarily tied to javascript. It would be great if we could use osrm-text-instructions in a native environment for example. A C++ port of this project would make this possible. A similar port of osrm-ti exists for iOS/macOS: https://github.com/Project-OSRM/osrm-text-instructions.swift/.
Approach
compile
tokenize
The text was updated successfully, but these errors were encountered: