OSDN Git Service

Read defs.txt at compile-time.
authorSimon Forman <sforman@hushmail.com>
Thu, 15 Sep 2022 03:08:40 +0000 (20:08 -0700)
committerSimon Forman <sforman@hushmail.com>
Thu, 15 Sep 2022 03:08:40 +0000 (20:08 -0700)
commit3f7adea56f361bca5fb7ae0a65589507c57c7e97
treeb1a0d419fb3975f6a2a78f596e8b10411c076a45
parent30c57c180b199ad455c2176b377f97504277f341
Read defs.txt at compile-time.

I'd like to build the dict datastructure at compile-time too but I'm not
going to figure that out tonight.  It's enough that the defs are
embedded in the executable.  (You can see them with the strings utility.)
implementations/Nim/defs.txt
implementations/Nim/simplejoy.nim