|
25 | 25 | ], |
26 | 26 | ), |
27 | 27 | ) |
| 28 | + |
| 29 | +clibrary( |
| 30 | + name="lexy_lib", |
| 31 | + hdrs={ |
| 32 | + h: f"dep/lexy/include/{h}" |
| 33 | + for h in [ |
| 34 | + "lexy_ext/parse_tree_algorithm.hpp", |
| 35 | + "lexy_ext/report_error.hpp", |
| 36 | + "lexy_ext/parse_tree_doctest.hpp", |
| 37 | + "lexy_ext/compiler_explorer.hpp", |
| 38 | + "lexy_ext/shell.hpp", |
| 39 | + "lexy/callback/constant.hpp", |
| 40 | + "lexy/callback/object.hpp", |
| 41 | + "lexy/callback/composition.hpp", |
| 42 | + "lexy/callback/aggregate.hpp", |
| 43 | + "lexy/callback/forward.hpp", |
| 44 | + "lexy/callback/integer.hpp", |
| 45 | + "lexy/callback/string.hpp", |
| 46 | + "lexy/callback/bit_cast.hpp", |
| 47 | + "lexy/callback/bind.hpp", |
| 48 | + "lexy/callback/fold.hpp", |
| 49 | + "lexy/callback/adapter.hpp", |
| 50 | + "lexy/callback/container.hpp", |
| 51 | + "lexy/callback/noop.hpp", |
| 52 | + "lexy/callback/base.hpp", |
| 53 | + "lexy/error.hpp", |
| 54 | + "lexy/_detail/type_name.hpp", |
| 55 | + "lexy/_detail/assert.hpp", |
| 56 | + "lexy/_detail/swar.hpp", |
| 57 | + "lexy/_detail/tuple.hpp", |
| 58 | + "lexy/_detail/code_point.hpp", |
| 59 | + "lexy/_detail/unicode_database.hpp", |
| 60 | + "lexy/_detail/integer_sequence.hpp", |
| 61 | + "lexy/_detail/any_ref.hpp", |
| 62 | + "lexy/_detail/memory_resource.hpp", |
| 63 | + "lexy/_detail/iterator.hpp", |
| 64 | + "lexy/_detail/config.hpp", |
| 65 | + "lexy/_detail/stateless_lambda.hpp", |
| 66 | + "lexy/_detail/lazy_init.hpp", |
| 67 | + "lexy/_detail/nttp_string.hpp", |
| 68 | + "lexy/_detail/detect.hpp", |
| 69 | + "lexy/_detail/string_view.hpp", |
| 70 | + "lexy/_detail/buffer_builder.hpp", |
| 71 | + "lexy/_detail/invoke.hpp", |
| 72 | + "lexy/_detail/std.hpp", |
| 73 | + "lexy/code_point.hpp", |
| 74 | + "lexy/parse_tree.hpp", |
| 75 | + "lexy/grammar.hpp", |
| 76 | + "lexy/encoding.hpp", |
| 77 | + "lexy/input_location.hpp", |
| 78 | + "lexy/lexeme.hpp", |
| 79 | + "lexy/dsl/capture.hpp", |
| 80 | + "lexy/dsl/case_folding.hpp", |
| 81 | + "lexy/dsl/literal.hpp", |
| 82 | + "lexy/dsl/context_identifier.hpp", |
| 83 | + "lexy/dsl/error.hpp", |
| 84 | + "lexy/dsl/whitespace.hpp", |
| 85 | + "lexy/dsl/flags.hpp", |
| 86 | + "lexy/dsl/subgrammar.hpp", |
| 87 | + "lexy/dsl/code_point.hpp", |
| 88 | + "lexy/dsl/sign.hpp", |
| 89 | + "lexy/dsl/member.hpp", |
| 90 | + "lexy/dsl/if.hpp", |
| 91 | + "lexy/dsl/symbol.hpp", |
| 92 | + "lexy/dsl/branch.hpp", |
| 93 | + "lexy/dsl/follow.hpp", |
| 94 | + "lexy/dsl/repeat.hpp", |
| 95 | + "lexy/dsl/ascii.hpp", |
| 96 | + "lexy/dsl/combination.hpp", |
| 97 | + "lexy/dsl/return.hpp", |
| 98 | + "lexy/dsl/integer.hpp", |
| 99 | + "lexy/dsl/production.hpp", |
| 100 | + "lexy/dsl/until.hpp", |
| 101 | + "lexy/dsl/brackets.hpp", |
| 102 | + "lexy/dsl/sequence.hpp", |
| 103 | + "lexy/dsl/char_class.hpp", |
| 104 | + "lexy/dsl/lookahead.hpp", |
| 105 | + "lexy/dsl/loop.hpp", |
| 106 | + "lexy/dsl/unicode.hpp", |
| 107 | + "lexy/dsl/context_counter.hpp", |
| 108 | + "lexy/dsl/choice.hpp", |
| 109 | + "lexy/dsl/parse_as.hpp", |
| 110 | + "lexy/dsl/byte.hpp", |
| 111 | + "lexy/dsl/digit.hpp", |
| 112 | + "lexy/dsl/punctuator.hpp", |
| 113 | + "lexy/dsl/recover.hpp", |
| 114 | + "lexy/dsl/times.hpp", |
| 115 | + "lexy/dsl/bits.hpp", |
| 116 | + "lexy/dsl/option.hpp", |
| 117 | + "lexy/dsl/identifier.hpp", |
| 118 | + "lexy/dsl/context_flag.hpp", |
| 119 | + "lexy/dsl/operator.hpp", |
| 120 | + "lexy/dsl/token.hpp", |
| 121 | + "lexy/dsl/any.hpp", |
| 122 | + "lexy/dsl/separator.hpp", |
| 123 | + "lexy/dsl/peek.hpp", |
| 124 | + "lexy/dsl/newline.hpp", |
| 125 | + "lexy/dsl/parse_tree_node.hpp", |
| 126 | + "lexy/dsl/expression.hpp", |
| 127 | + "lexy/dsl/delimited.hpp", |
| 128 | + "lexy/dsl/effect.hpp", |
| 129 | + "lexy/dsl/position.hpp", |
| 130 | + "lexy/dsl/scan.hpp", |
| 131 | + "lexy/dsl/list.hpp", |
| 132 | + "lexy/dsl/base.hpp", |
| 133 | + "lexy/dsl/bom.hpp", |
| 134 | + "lexy/dsl/terminator.hpp", |
| 135 | + "lexy/dsl/eof.hpp", |
| 136 | + "lexy/dsl.hpp", |
| 137 | + "lexy/visualize.hpp", |
| 138 | + "lexy/callback.hpp", |
| 139 | + "lexy/token.hpp", |
| 140 | + "lexy/action/parse_as_tree.hpp", |
| 141 | + "lexy/action/parse.hpp", |
| 142 | + "lexy/action/trace.hpp", |
| 143 | + "lexy/action/match.hpp", |
| 144 | + "lexy/action/validate.hpp", |
| 145 | + "lexy/action/scan.hpp", |
| 146 | + "lexy/action/base.hpp", |
| 147 | + "lexy/input/buffer.hpp", |
| 148 | + "lexy/input/lexeme_input.hpp", |
| 149 | + "lexy/input/argv_input.hpp", |
| 150 | + "lexy/input/file.hpp", |
| 151 | + "lexy/input/string_input.hpp", |
| 152 | + "lexy/input/parse_tree_input.hpp", |
| 153 | + "lexy/input/range_input.hpp", |
| 154 | + "lexy/input/base.hpp", |
| 155 | + ] |
| 156 | + }, |
| 157 | + deps=[ |
| 158 | + git_repository( |
| 159 | + name="lexy_repo", |
| 160 | + url="https://github.com/foonathan/lexy", |
| 161 | + branch="v2025.05.0", |
| 162 | + path="dep/lexy", |
| 163 | + ) |
| 164 | + ], |
| 165 | +) |
0 commit comments