2023-02-28 09:36:11 -05:00
|
|
|
// echo README.adoc | entr sh -c "podman run --rm -it --network none -v "${PWD}:/documents/" asciidoctor/docker-asciidoctor asciidoctor -r asciidoctor-mathematical -a mathematical-format=svg README.adoc; printf 'Done ($(date -Isecond))\n'"
|
2023-03-06 20:28:48 -05:00
|
|
|
// :toc:
|
2023-02-08 23:28:16 -05:00
|
|
|
:nofooter:
|
|
|
|
:!webfonts:
|
2023-02-28 09:36:11 -05:00
|
|
|
:source-highlighter: rouge
|
2023-02-08 23:28:16 -05:00
|
|
|
:rouge-style: molokai
|
2023-02-28 09:36:11 -05:00
|
|
|
:sectlinks:
|
2023-01-22 22:51:44 -05:00
|
|
|
|
2023-03-02 18:55:40 -05:00
|
|
|
= xpin
|
2023-03-06 20:28:48 -05:00
|
|
|
|
|
|
|
== File Structure
|
|
|
|
|
|
|
|
In order of dependency, the role of each of these directories in this repository is:
|
|
|
|
|
|
|
|
[cols="m,,"]
|
|
|
|
|===
|
|
|
|
|Directory |Contents |Description
|
|
|
|
|
|
|
|
|docs
|
|
|
|
|Asciidoctor documentation
|
|
|
|
|Design decisions and algorithm definition documentation
|
|
|
|
|
|
|
|
|wordlist
|
|
|
|
|Python/CSV
|
|
|
|
|Wordlist sources and generator code
|
|
|
|
|
|
|
|
|test-data
|
|
|
|
|C++/CSV
|
|
|
|
|Test data mapping random and hand-picked lat/lon transformed to CellIDs and xpin addresses.
|
|
|
|
Also contains source code linking to the C++ S2 library to ensure CellIDs are translated properly.
|
|
|
|
|
|
|
|
|words
|
|
|
|
|Rust Crate
|
|
|
|
|Crate to store the mapping of words and their associated numeric values.
|
|
|
|
|
|
|
|
|src
|
|
|
|
|Rust Crate
|
|
|
|
|
|
|
|
|
|
|
|
|
|tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|xpin-wasm
|
|
|
|
|Rust Crate
|
|
|
|
|WASM bindings for xpin
|
|
|
|
|
|
|
|
|web-frontend
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|web
|
|
|
|
|Rust Crate
|
|
|
|
|
|
|
|
|
|
|
|
|
|===
|