CTAN Comprehensive TeX Archive Network

CTAN update: tokcycle

Date: May 28, 2021 8:59:44 PM CEST
Steven B. Segletes submitted an update to the tokcycle package. Version number: 1.4 2021-05-26 License type: lppl1.3c Summary description: Build tools to process tokens from an input stream Announcement text:
A significant upgrade to the tokcycle package is being released as V1.4. In it, new commands are introduced that allow for input-stream look-ahead features, as part of the token cycle. In addition, tokens can be both popped off and pushed onto the head of the input stream with the tools provided. Such features may be useful when adjacent tokens in the input stream are to be examined and/or processed in concert with each other.
This package is located at http://mirror.ctan.org/macros/generic/tokcycle More information is at http://www.ctan.org/pkg/tokcycle CTAN is run entirely by volunteers and supported by TeX user groups Please join a user group or donate to one, see https://ctan.org/lugs
Thanks for the upload. For the CTAN Team Ina Dau --

tokcycle – Build tools to process tokens from an input stream

The tokcycle package helps one to build tools to process tokens from an input stream. If a macro to process an arbitrary single token can be built, then tokcycle can provide a wrapper for cycling through an input stream (including macros, spaces, and groups) on a token-by-token basis, using the provided macro on each successive character.

tokcycle characterizes each successive token in the input stream as a Character, a Group, a Macro, or a Space. Each of these token categories are processed with a unique directive, to bring about the desired effect of the token cycle. If condition flags are provided to identify active, implicit, and catcode-6 tokens as they are digested. The package provides a number of options for handling groups.

Packagetokcycle
Version1.42 2021-08-25
MaintainerSteven B. Segletes

Announcements

more

Guest Book Sitemap Contact Contact Author