Version 7.0
Copyright © 2021 Lowell D. Thomas
APG
… an ABNF Parser Generator
Wide Characters – Parsing UTF-32

This example explores the use of wide alphabet characters. Parsing 32-bit, UTF-32 characters.

  • application code must include header files:
    • ../../api/api.h (includes utilities.h)
  • application compilation must include source code from the directories:
    • ../../api
    • ../../library
    • ../../utilities
  • application compilation must define macros:
    • APG_ACHAR=32
    • APG_AINT=64
    • APG_AST (required for the API)

The compiled example will execute the following cases. Run the application with no arguments for application usage.

  • case 1: Display application information. (type names, type sizes and defined macros)
  • case 2: Parse lines of Cherokee language UTF-32 Unicode text
APG Version 7.0 is licensed under the 2-Clause BSD License,
an Open Source Initiative Approved License.