Skip to content

Extensions

Jaysmito Mukherjee edited this page Nov 9, 2021 · 3 revisions

What are extensions?

For lexpp extensions are special headers which are optional. You can get them from the extensions/ folder.

Extensions add special functionality to lexpp.

All extensions are header only too and work the same way lexpp.h does.

You need to define LEXPP_IMPLEMENTATION before including any extension like you do with lexpp.h.

What Extensions are there ? What can they do ?

Here is a list of all existing extensions( also some that will be added very soon ) and what they can do :

  • syntax_parser.h (Docs) - This can tokenize the source code of any programming language into tokens which are customizable.
  • xml_parser.h (Docs) - Parse XML Files
  • json_parser.h - Parse JSON Files
  • html_parser.h - Parse HTML
  • ip_parser.h - Parse IP Addresses from a list (text format)
  • More are coming soon.
Clone this wiki locally