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 yourLPATH
environment variable. - This may be require less preparation and updating than would translating
to "ucode" and using thelink
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".
- The
-
- 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 whenbaton_flatware
is not linked.
-
batonsys.icn
- Invoke process using batons to exchange input and output -
- Procedures to produce logical lines or fields from formatted data files.
-
- Procedures to manipulate files, directores, and their paths.
-
- Procedures to transform data structures into includable Icon declarations and statements.
-
- Procedures to parse and generate JSON, by Carl Sturtivant and Gregg Townsend.
-
- Procedures to suspend lists combining sequences.
-
- In-place delete or insert of a pseudo-section of L.
-
- Procedures to embed RPN-based (Forth-like) interpreter into Icon programs; can also be run in REPL.
-
- 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.
-
- Interface to exchange commands and results with
sqlite3
.
- Interface to exchange commands and results with
-
- "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.
-
- 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