Files
carbon-lang/examples/re2_playground/BUILD
T
Richard Smithandjosh11b cb0edef45f Add line editor to RE2 example. (#6337)
Most inputs are matched against the current regex. An input that starts
and ends with `/` sets a new regex instead. EOF terminates the program.

---------

Co-authored-by: josh11b <15258583+josh11b@users.noreply.github.com>
2025-11-10 23:53:23 +00:00

17 lines
471 B
Python

# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
# Exceptions. See /LICENSE for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
load("//bazel/carbon_rules:defs.bzl", "carbon_binary")
carbon_binary(
name = "re2_playground",
srcs = ["re2_playground.carbon"],
flags = ["--clang-arg=-std=c++20"],
tags = ["manual"],
deps = [
"@llvm-project//llvm:LineEditor",
"@re2",
],
)