Jump to content

Alcor6L/PicoLisp/pd

From Wikibooks, open books for an open world

This module contains functions that access specific platform data from PicoLisp. It is useful if the code needs to know on which platform it runs.

Functions

[edit | edit source]

pd-platform

[edit | edit source]
(pd-platform)

Get platform name.

Returns:

  • the name of the platform on which PicoLisp is running.

pd-cpu

[edit | edit source]

Get CPU name.

(pd-cpu)

Returns:

  • the name of the CPU of the platform on which PicoLisp is running.

pd-board

[edit | edit source]

Get board name.

(pd-board)

Returns:

  • the name of the board on which PicoLisp is running.