Skip to content

Icon "inclusion library" - release v1.0.2

Latest
Compare
Choose a tag to compare
@eschen42 eschen42 released this 20 Jan 17:06
7719bc4

Icon "inclusion library" - release v1.0.2

Incorporate these files into Icon programs using the $include preprocessor macro:

  • This may be readily achieved by including this directory
    in your LPATH environment variable.
  • This may be require less preparation and updating than would translating
    to "ucode" and using the link directive.

development repo: https://chiselapp.com/user/eschen42/repository/aceincl

mirror and release repo: https://github.com/eschen42/aceincl

Except where otherwise noted, this code is created (with others' inspiration) by Art Eschenlauer (OrcID 0000-0002-2882-0508).

Contents

  • Testing program runt.icn and working examples

    • The runt.icn runs a selection of, or all, test programs in specified directories to validate their outputs:
    • In the tests directory are "working examples" of how to use the files in this directory.
    • In the sl3tests directory are sqlite3-dependent "working examples".
  • baton.icn

    • Procedure to coordinate passing data from one process to another via a file-based buffer.
  • baton_main.icn - Procedures to use facilitate creation of processes that exchange data
    with current process via batons.

    • baton_main Procedure for creating executable to interface between a batons and a stream.
    • baton_flatware Procedure to access batons without translating an additional executable.
    • baton_crowbar Procedure to handle programming error by terminating program exection when baton_flatware is not linked.
  • batonsys.icn - Invoke process using batons to exchange input and output

  • fieldedDataFile.icn

    • Procedures to produce logical lines or fields from formatted data files.
  • fileDirIo.icn

    • Procedures to manipulate files, directores, and their paths.
  • iimage.icn

    • Procedures to transform data structures into includable Icon declarations and statements.
  • jsonparse.icn

    • Procedures to parse and generate JSON, by Carl Sturtivant and Gregg Townsend.
  • LiComboP.icn

    • Procedures to suspend lists combining sequences.
  • lindel.icn

    • In-place delete or insert of a pseudo-section of L.
  • rpn.icn

    • Procedures to embed RPN-based (Forth-like) interpreter into Icon programs; can also be run in REPL.
  • runningStats.icn

    • Support computing summary statistics for normally distributed data using "Welford's online algorithm".
  • selectRecordFromListByField.icn

    • Procedure to produce records from a list of records (or a list of tables), matching specified criteria.
  • sl3.icn

    • Interface to exchange commands and results with sqlite3.
  • vnom.icn

    • "Nominal vector", i.e., a list whose elements may be accessed by rank (index) or name (key).
    • This construct is supported by a Lua-inspired metatable.
  • wora.icn

    • Procedure to produce a value that can be read globally but can be reset only by the co-expression that set it it initially.

v1.0.2 - added support for CSV format to fieldedDataFile.icn; deprecated RecTable.icn