Thanks Doug!

On reflection, I should have more thoroughly looked at the project's
site, as I later found the list of required methods that conforming
implementations should support. Thanks for referencing the C++
implementation —I had initially considered creating a C version as a
wrapper around that but I think I will decide against this due to
various caveats that would produce (void pointers to C++ objects,
reliance on a C++ compiler). It is definitely helpful reference material
though :) I think I'll have a look at implementations in the various
languages I'm most familiar with and use their interpretations and the
aforementioned required methods list as a guide for designing the API of
any library that I produce.

I'll probably opt to put it on my own Github repo. Once I get the time,
I'll have a go at building it and if I am successful will make the
project public and let you know so you may link to it if you find what
I've built helpful.

Best,

/J.S./
------------------------------------------------------------------------
*My PGP Public Key Identity*

pub   4096R/*B7A947E4* 2016-11-16 [expires: 2017-05-15]
      Key fingerprint = *E2C4 514F F0FA 52D1 896A B1D6 3D42 BFD9 B7A9 47E4*
uid   Joshua Saxby joshua.a.saxby+umvlnvbsoxbhaeichvbdu...@gmail.com
<mailto:joshua.a.saxby+umvlnvbsoxbhaeichvbdu...@gmail.com>
uid   Joshua Saxby (saxbophone) joshua.a.sa...@gmail.com 
<mailto:joshua.a.sa...@gmail.com>
sub   4096R/0A445946 2016-11-16 [expires: 2017-05-15]

------------------------------------------------------------------------
On 08/05/17 12:33, Doug Rinckes wrote:
> Hi Joshua,
>
> Cool - I don't know of a C version in progress, so that would be great!
>
> As a starting point, you could take the C++ implementation
> <https://github.com/google/open-location-code/tree/master/cpp> and use
> that interface, or if you're intending to be more focused towards
> static methods, you could replicate one of the other languages (like
> JS). Just make sure you have a test harness so you can tell when it
> works. ;-)
>
> If you want to do it under your own github project, that's perfectly
> ok, we can provide a link to it. Otherwise you'll need to sign the
> Google CLA (see
> CONTRIBUTING.mdhttps://github.com/google/open-location-code/blob/master/CONTRIBUTING.md
> <http://CONTRIBUTING.md>
> ).
>
>  
>
>
> Doug Rinckes, Technical Program Manager, Google Switzerland
> GmbH; 9GHJ+P88 Zürich
> <https://www.google.com/maps/search/9GHJ%2BP88%20Z%C3%BCrich>
>
> On Fri, May 5, 2017 at 9:37 PM, Joshua Saxby <joshua.a.sa...@gmail.com
> <mailto:joshua.a.sa...@gmail.com>> wrote:
>
>     Greetings, fellow open location code enthusiasts!
>
>     I have a keen interest in creating an implementation of this
>     system in C.
>
>     I wanted to let you folks on here know, in case anyone else was
>     already making one for C, I wouldn't want to step on anyone's
>     toes. I haven't found any C implementations so far.
>
>     Also, is there a recommended interface that libraries implementing
>     this system should follow? I could not see anything of the sort at
>     openlocationcode.com <http://openlocationcode.com>
>
>     Regards,
>
>     J.S.
>
>     --
>     Public site: http://www.openlocationcode.com/
>     <http://www.openlocationcode.com/>
>     Github project: https://github.com/google/open-location-code
>     <https://github.com/google/open-location-code>
>     Demo site: http://plus.codes/
>     ---
>     You received this message because you are subscribed to the Google
>     Groups "open-location-code" group.
>     To unsubscribe from this group and stop receiving emails from it,
>     send an email to open-location-code+unsubscr...@googlegroups.com
>     <mailto:open-location-code%2bunsubscr...@googlegroups.com>.
>     To post to this group, send an email to
>     open-location-code@googlegroups.com
>     <mailto:open-location-code@googlegroups.com>.
>     Visit this group at
>     https://groups.google.com/group/open-location-code
>     <https://groups.google.com/group/open-location-code>.
>     To view this discussion on the web, visit
>     
> https://groups.google.com/d/msgid/open-location-code/8e882c62-fbb6-42de-966d-e433f677d6b8%40googlegroups.com
>     
> <https://groups.google.com/d/msgid/open-location-code/8e882c62-fbb6-42de-966d-e433f677d6b8%40googlegroups.com>.
>     For more options, visit https://groups.google.com/d/optout
>     <https://groups.google.com/d/optout>.
>
>

-- 
Public site: http://www.openlocationcode.com/
Github project: https://github.com/google/open-location-code
Demo site: http://plus.codes/
--- 
You received this message because you are subscribed to the Google Groups 
"open-location-code" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-location-code+unsubscr...@googlegroups.com.
To post to this group, send an email to open-location-code@googlegroups.com.
Visit this group at https://groups.google.com/group/open-location-code.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/open-location-code/78b20dce-ee4e-8628-3438-ceba0a4e7b17%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: 0xB7A947E4.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to