The VikiD Truth

Knowledge base / Computing / Lisp family

Read This! | Picolisp | Picolisp Machine | Pil Sources | Pil Tutorials | Linux | BASH | C-Programmming | Javascipt | Python | Scheme | Operating Systems | AssemblyLanguage | Computer Security | Firewalls | Exploitation | Social Engineering | Metasploit | Emacs | vim | Pharo Smalltalk | Databases | Networking | Machine Learning | Git | Machine Learning | Algorithms | Open Data Science

mkVers

Reading this in 2026. This page reproduces mkVers from the PicoLisp sources (PicoLisp build tools), as I studied them around 2017. It is the script that stamps the current version number into the source files. PicoLisp is MIT-licensed, © Software Lab, Alexander Burger. Since 2020 the current PicoLisp is pil21, which is written in PicoLisp itself and compiled through LLVM, so the line-by-line details here belong to the older implementations; the ideas carry over. Current sources are at software-lab.de.

#!../bin/picolisp ../lib.l
# 07mar11abu
# (c) Software Lab. Alexander Burger

(load "../src64/version.l")

(out "vers.h"
   (prinl
      "static byte Version[4] = {"
      (glue "," *Version)
      "};" ) )

(bye)

# vi:et:ts=3:sw=3

Last edited · 2 revisions

Tags: #Computing