Introduction








Abstract

An implementation of ForthQL for VFX Forh for Linux is presented. SQL statements are embedded within words using CHAR | as separator. Dynamic SQL statements that bound parameters at runtime are also possible. Result sets are processed row by row by callback words. ForthQL relies on a simple DB API, where one connection (per thread) to the database is used. This is enough for most purposes. A sample implementation for SQLite3 is also included. SQLite3 implementation includes a word set for non-callback processing style outside ForthQL.




References

  1. The Nearly Invisible database or ForthQL, N. J. Nelson. 22th EuroForth Conference Proceedings, pp. 52-77, available at THE EUROFORTH WEBSITE
  2. VFX Forth for Linux User Manual . The evaluation license for Linux is free. Visit MPE Website for details.