Alcor6L/PicoLisp/pd

From Wikibooks, open books for an open world
Jump to navigation Jump to search

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]

pd-platform[edit]

(pd-platform)

Get platform name.

Returns:

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

pd-cpu[edit]

Get CPU name.

(pd-cpu)

Returns:

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

pd-board[edit]

Get board name.

(pd-board)

Returns:

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