Commit Graph

16 Commits

Author SHA1 Message Date
Andy Weidenbaum
94ff5d143e stop converting relative paths to absolute
prevented downstream users from utilizing `PathSearcher` in binary
2021-03-15 11:19:48 +11:00
Andy Weidenbaum
33599cd9b6 s/Fennel/Lua and add note about &'static str keys 2021-03-08 10:01:52 +11:00
Andy Weidenbaum
53432900c1 s/PolySearcher/PathSearcherPoly, convert/transform
s/add_poly_searcher/add_path_searcher_poly
2021-03-04 12:22:40 +11:00
Andy Weidenbaum
278a3bb140 rearchitect PathSearcher as PolySearcher
to genericize conversion of paths to lua source code
- which facilitates module reloading for e.g.
  - fennel
  - teal
  - typescripttolua
2021-02-27 11:18:30 +11:00
Andy Weidenbaum
587dfbabe4 s/module_// 2021-02-27 09:17:14 +11:00
Andy Weidenbaum
8e25481811 import std::fs::File 2021-02-27 09:15:54 +11:00
Andy Weidenbaum
cf3a90faca implement PathSearcher
to facilitate module reloading
2021-02-26 20:59:46 +11:00
Andy Weidenbaum
a331b2bf8b re-fmt comments 2021-02-17 22:34:46 +11:00
Andy Weidenbaum
8c8bd29d0d prefer as_str()
credit
- https://www.fpcomplete.com/blog/avoiding-duplicating-strings-rust/
2021-02-15 11:40:48 +11:00
Andy Weidenbaum
4aa2f52dd7 index StaticSearcher &'static str by &'static str
credit
- https://stackoverflow.com/questions/65549983/trait-borrowstring-is-not-implemented-for-str/65550108#65550108
2021-02-15 11:33:45 +11:00
Andy Weidenbaum
f159a7cc27 implement add_static_searcher
to facilitate compile-time includes
2021-02-13 17:15:35 +11:00
Andy Weidenbaum
a7c9fbdba8 rm superfluous lifetime annotation 2021-02-04 15:30:06 +11:00
Andy Weidenbaum
d74b008050 s/RLua/Lua 2021-02-04 12:40:14 +11:00
Andy Weidenbaum
fbb1942093 rustfmt 2021-02-04 12:18:29 +11:00
Andy Weidenbaum
38c15af4dc make initial implementation
credit
- https://github.com/AlphaModder/include-lua
2021-02-04 12:16:07 +11:00
Andy Weidenbaum
187c5f55ea init 2021-02-04 11:09:05 +11:00