m8
A general-purpose preprocessor for metaprogramming.
.gitignore | 1 +-
CMakeLists.txt | 55 +-
README.md | 151 +-
build.sh | 29 +-
example/basic/CMakeLists.txt | 44 +-
example/basic/src/main_m8.cc | 27 +-
examples/basic/CMakeLists.txt | 44 +-
examples/basic/src/main_m8.cc | 27 +-
install.sh | 34 +-
src/ansi_escape_codes.cc | 165 +-
src/ansi_escape_codes.hh | 112 +-
src/ast.cc | 94 +-
src/ast.hh | 45 +-
src/cache.hh | 120 +-
src/color.hh | 68 +-
src/crypto.cc | 25 +-
src/crypto.hh | 11 +-
src/enum.hh | 23 +-
src/http.cc | 115 +-
src/http.hh | 35 +-
src/json.hh | 17195 +-----------------------------------------
src/lexer.cc | 18 +-
src/lexer.hh | 23 +-
src/lib/json.hh | 17195 +++++++++++++++++++++++++++++++++++++++++-
src/lib/linenoise.hh | 2416 ++++++-
src/lib/parg.hh | 819 ++-
src/linenoise.hh | 2411 +------
src/log.hh | 130 +-
src/m8.cc | 1532 +----
src/m8.hh | 229 +-
src/m8/ast.cc | 92 +-
src/m8/ast.hh | 44 +-
src/m8/cache.hh | 105 +-
src/m8/m8.cc | 1504 ++++-
src/m8/m8.hh | 208 +-
src/m8/macros.cc | 1357 +++-
src/m8/macros.hh | 18 +-
src/m8/macros_custom.cc | 52 +-
src/m8/macros_custom.hh | 15 +-
src/m8/reader.cc | 131 +-
src/m8/reader.hh | 49 +-
src/m8/writer.cc | 81 +-
src/m8/writer.hh | 29 +-
src/m8_macros.cc | 1418 +---
src/m8_macros.hh | 17 +-
src/main.cc | 73 +-
src/ob/crypto.cc | 32 +-
src/ob/crypto.hh | 18 +-
src/ob/http.cc | 101 +-
src/ob/http.hh | 37 +-
src/ob/ordered_map.hh | 173 +-
src/ob/scoped_map.hh | 199 +-
src/ob/string.cc | 566 +-
src/ob/string.hh | 77 +-
src/ob/sys_command.cc | 35 +-
src/ob/sys_command.hh | 13 +-
src/ob/term.hh | 314 +-
src/ob/timer.hh | 53 +-
src/ordered_map.hh | 171 +-
src/parg.hh | 727 +--
src/parser.cc | 18 +-
src/parser.hh | 23 +-
src/reader.cc | 145 +-
src/reader.hh | 52 +-
src/scoped_map.hh | 196 +-
src/string.cc | 480 +-
src/string.hh | 74 +-
src/sys_command.cc | 30 +-
src/sys_command.hh | 8 +-
src/term.hh | 134 +-
src/timer.hh | 52 +-
src/user_macros.cc | 51 +-
src/user_macros.hh | 15 +-
src/writer.cc | 85 +-
src/writer.hh | 33 +-
75 files changed, 25992 insertions(+), 26306 deletions(-)