taocpp-pegtl/3.2.7

Parsing Expression Grammar Template Library
Recipe info
2023-03-09

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
taocpp-pegtl/3.2.7

Using taocpp-pegtl

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
taocpp-pegtl/3.2.7
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("taocpp-pegtl/3.2.7")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): pegtl
  • CMake target name(s): taocpp::pegtl
  • _taocpp-pegtl => taocpp::pegtl
    
  • pkg-config file name(s): taocpp-pegtl.pc
  • _taocpp-pegtl => taocpp-pegtl-_taocpp-pegtl.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(pegtl REQUIRED)
# ...
target_link_libraries(YOUR_TARGET taocpp::pegtl)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the taocpp-pegtl homepage listed above:

#include "tao/pegtl.hpp"
#include "tao/pegtl/apply_mode.hpp"
#include "tao/pegtl/argv_input.hpp"
#include "tao/pegtl/ascii.hpp"
#include "tao/pegtl/buffer_input.hpp"
#include "tao/pegtl/change_action.hpp"
#include "tao/pegtl/change_action_and_state.hpp"
#include "tao/pegtl/change_action_and_states.hpp"
#include "tao/pegtl/change_control.hpp"
#include "tao/pegtl/change_state.hpp"
#include "tao/pegtl/change_states.hpp"
#include "tao/pegtl/config.hpp"
#include "tao/pegtl/contrib/abnf.hpp"
#include "tao/pegtl/contrib/add_state.hpp"
#include "tao/pegtl/contrib/alphabet.hpp"
#include "tao/pegtl/contrib/analyze.hpp"
#include "tao/pegtl/contrib/analyze_traits.hpp"
#include "tao/pegtl/contrib/check_bytes.hpp"
#include "tao/pegtl/contrib/control_action.hpp"
#include "tao/pegtl/contrib/coverage.hpp"
#include "tao/pegtl/contrib/forward.hpp"
#include "tao/pegtl/contrib/function.hpp"
#include "tao/pegtl/contrib/http.hpp"
#include "tao/pegtl/contrib/icu/internal.hpp"
#include "tao/pegtl/contrib/icu/utf16.hpp"
#include "tao/pegtl/contrib/icu/utf32.hpp"
#include "tao/pegtl/contrib/icu/utf8.hpp"
#include "tao/pegtl/contrib/if_then.hpp"
#include "tao/pegtl/contrib/instantiate.hpp"
#include "tao/pegtl/contrib/integer.hpp"
#include "tao/pegtl/contrib/internal/endian.hpp"
#include "tao/pegtl/contrib/internal/endian_gcc.hpp"
#include "tao/pegtl/contrib/internal/endian_win.hpp"
#include "tao/pegtl/contrib/internal/peek_mask_uint.hpp"
#include "tao/pegtl/contrib/internal/peek_mask_uint8.hpp"
#include "tao/pegtl/contrib/internal/peek_uint.hpp"
#include "tao/pegtl/contrib/internal/peek_uint8.hpp"
#include "tao/pegtl/contrib/internal/peek_utf16.hpp"
#include "tao/pegtl/contrib/internal/peek_utf32.hpp"
#include "tao/pegtl/contrib/internal/read_uint.hpp"
#include "tao/pegtl/contrib/internal/set_stack_guard.hpp"
#include "tao/pegtl/contrib/internal/vector_stack_guard.hpp"
#include "tao/pegtl/contrib/iri.hpp"
#include "tao/pegtl/contrib/json.hpp"
#include "tao/pegtl/contrib/json_pointer.hpp"
#include "tao/pegtl/contrib/limit_bytes.hpp"
#include "tao/pegtl/contrib/limit_depth.hpp"
#include "tao/pegtl/contrib/parse_tree.hpp"
#include "tao/pegtl/contrib/parse_tree_to_dot.hpp"
#include "tao/pegtl/contrib/peg.hpp"
#include "tao/pegtl/contrib/predicates.hpp"
#include "tao/pegtl/contrib/print.hpp"
#include "tao/pegtl/contrib/print_coverage.hpp"
#include "tao/pegtl/contrib/proto3.hpp"
#include "tao/pegtl/contrib/raw_string.hpp"
#include "tao/pegtl/contrib/remove_first_state.hpp"
#include "tao/pegtl/contrib/remove_last_states.hpp"
#include "tao/pegtl/contrib/rep_one_min_max.hpp"
#include "tao/pegtl/contrib/rep_string.hpp"
#include "tao/pegtl/contrib/separated_seq.hpp"
#include "tao/pegtl/contrib/shuffle_states.hpp"
#include "tao/pegtl/contrib/state_control.hpp"
#include "tao/pegtl/contrib/to_string.hpp"
#include "tao/pegtl/contrib/trace.hpp"
#include "tao/pegtl/contrib/uint16.hpp"
#include "tao/pegtl/contrib/uint32.hpp"
#include "tao/pegtl/contrib/uint64.hpp"
#include "tao/pegtl/contrib/uint8.hpp"
#include "tao/pegtl/contrib/unescape.hpp"
#include "tao/pegtl/contrib/uri.hpp"
#include "tao/pegtl/contrib/utf16.hpp"
#include "tao/pegtl/contrib/utf32.hpp"
#include "tao/pegtl/cstream_input.hpp"
#include "tao/pegtl/demangle.hpp"
#include "tao/pegtl/disable_action.hpp"
#include "tao/pegtl/discard_input.hpp"
#include "tao/pegtl/discard_input_on_failure.hpp"
#include "tao/pegtl/discard_input_on_success.hpp"
#include "tao/pegtl/enable_action.hpp"
#include "tao/pegtl/eol.hpp"
#include "tao/pegtl/eol_pair.hpp"
#include "tao/pegtl/file_input.hpp"
#include "tao/pegtl/internal/action.hpp"
#include "tao/pegtl/internal/action_input.hpp"
#include "tao/pegtl/internal/any.hpp"
#include "tao/pegtl/internal/apply.hpp"
#include "tao/pegtl/internal/apply0.hpp"
#include "tao/pegtl/internal/apply0_single.hpp"
#include "tao/pegtl/internal/apply_single.hpp"
#include "tao/pegtl/internal/at.hpp"
#include "tao/pegtl/internal/bof.hpp"
#include "tao/pegtl/internal/bol.hpp"
#include "tao/pegtl/internal/bump.hpp"
#include "tao/pegtl/internal/bump_help.hpp"
#include "tao/pegtl/internal/bytes.hpp"
#include "tao/pegtl/internal/control.hpp"
#include "tao/pegtl/internal/cr_crlf_eol.hpp"
#include "tao/pegtl/internal/cr_eol.hpp"
#include "tao/pegtl/internal/crlf_eol.hpp"
#include "tao/pegtl/internal/cstream_reader.hpp"
#include "tao/pegtl/internal/cstring_reader.hpp"
#include "tao/pegtl/internal/dependent_false.hpp"
#include "tao/pegtl/internal/disable.hpp"
#include "tao/pegtl/internal/discard.hpp"
#include "tao/pegtl/internal/enable.hpp"
#include "tao/pegtl/internal/enable_control.hpp"
#include "tao/pegtl/internal/eof.hpp"
#include "tao/pegtl/internal/eol.hpp"
#include "tao/pegtl/internal/eolf.hpp"
#include "tao/pegtl/internal/failure.hpp"
#include "tao/pegtl/internal/file_mapper_posix.hpp"
#include "tao/pegtl/internal/file_mapper_win32.hpp"
#include "tao/pegtl/internal/file_reader.hpp"
#include "tao/pegtl/internal/filesystem.hpp"
#include "tao/pegtl/internal/has_apply.hpp"
#include "tao/pegtl/internal/has_apply0.hpp"
#include "tao/pegtl/internal/has_match.hpp"
#include "tao/pegtl/internal/has_unwind.hpp"
#include "tao/pegtl/internal/identifier.hpp"
#include "tao/pegtl/internal/if_apply.hpp"
#include "tao/pegtl/internal/if_must.hpp"
#include "tao/pegtl/internal/if_must_else.hpp"
#include "tao/pegtl/internal/if_then_else.hpp"
#include "tao/pegtl/internal/input_pair.hpp"
#include "tao/pegtl/internal/istream_reader.hpp"
#include "tao/pegtl/internal/istring.hpp"
#include "tao/pegtl/internal/iterator.hpp"
#include "tao/pegtl/internal/lf_crlf_eol.hpp"
#include "tao/pegtl/internal/lf_eol.hpp"
#include "tao/pegtl/internal/list.hpp"
#include "tao/pegtl/internal/list_must.hpp"
#include "tao/pegtl/internal/list_tail.hpp"
#include "tao/pegtl/internal/list_tail_pad.hpp"
#include "tao/pegtl/internal/marker.hpp"
#include "tao/pegtl/internal/minus.hpp"
#include "tao/pegtl/internal/missing_apply.hpp"
#include "tao/pegtl/internal/missing_apply0.hpp"
#include "tao/pegtl/internal/must.hpp"
#include "tao/pegtl/internal/not_at.hpp"
#include "tao/pegtl/internal/one.hpp"
#include "tao/pegtl/internal/opt.hpp"
#include "tao/pegtl/internal/pad.hpp"
#include "tao/pegtl/internal/pad_opt.hpp"
#include "tao/pegtl/internal/path_to_string.hpp"
#include "tao/pegtl/internal/peek_char.hpp"
#include "tao/pegtl/internal/peek_utf8.hpp"
#include "tao/pegtl/internal/pegtl_string.hpp"
#include "tao/pegtl/internal/plus.hpp"
#include "tao/pegtl/internal/raise.hpp"
#include "tao/pegtl/internal/range.hpp"
#include "tao/pegtl/internal/ranges.hpp"
#include "tao/pegtl/internal/rematch.hpp"
#include "tao/pegtl/internal/rep.hpp"
#include "tao/pegtl/internal/rep_min.hpp"
#include "tao/pegtl/internal/rep_min_max.hpp"
#include "tao/pegtl/internal/rep_opt.hpp"
#include "tao/pegtl/internal/require.hpp"
#include "tao/pegtl/internal/result_on_found.hpp"
#include "tao/pegtl/internal/rules.hpp"
#include "tao/pegtl/internal/seq.hpp"
#include "tao/pegtl/internal/sor.hpp"
#include "tao/pegtl/internal/star.hpp"
#include "tao/pegtl/internal/star_must.hpp"
#include "tao/pegtl/internal/state.hpp"
#include "tao/pegtl/internal/string.hpp"
#include "tao/pegtl/internal/success.hpp"
#include "tao/pegtl/internal/try_catch_type.hpp"
#include "tao/pegtl/internal/until.hpp"
#include "tao/pegtl/internal/unwind_guard.hpp"
#include "tao/pegtl/istream_input.hpp"
#include "tao/pegtl/match.hpp"
#include "tao/pegtl/memory_input.hpp"
#include "tao/pegtl/mmap_input.hpp"
#include "tao/pegtl/must_if.hpp"
#include "tao/pegtl/normal.hpp"
#include "tao/pegtl/nothing.hpp"
#include "tao/pegtl/parse.hpp"
#include "tao/pegtl/parse_error.hpp"
#include "tao/pegtl/position.hpp"
#include "tao/pegtl/read_input.hpp"
#include "tao/pegtl/require_apply.hpp"
#include "tao/pegtl/require_apply0.hpp"
#include "tao/pegtl/rewind_mode.hpp"
#include "tao/pegtl/rules.hpp"
#include "tao/pegtl/string_input.hpp"
#include "tao/pegtl/tracking_mode.hpp"
#include "tao/pegtl/type_list.hpp"
#include "tao/pegtl/utf8.hpp"
#include "tao/pegtl/version.hpp"
#include "tao/pegtl/visit.hpp"