〽️
Pattern Language
Home
  • Pattern Language
  • Core Language
    • Data Types
    • Variable Placement
    • Namespaces
    • Expressions
    • Functions
    • Control flow
    • In / Out Variables
    • Attributes
    • Preprocessor
    • Importing Modules
    • Comments
    • Sections
  • Libraries
    • hex
      • provider
      • core
      • http
      • dec
      • mangled
      • encstr
      • instruction
      • json
    • std
      • array
      • limits
      • random
      • file
      • core
      • ptr
      • mem
      • math
      • hash
      • fxpt
      • sys
      • io
      • time
      • string
      • attrs
      • ctype
      • bit
    • type
      • mac
      • ip
      • byte
      • path
      • size
      • base
      • guid
      • float16
      • bcd
      • leb128
      • time
      • fmt
      • color
      • c
      • win32
      • 010
      • linux
      • rust
      • base64
      • magic
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Libraries

std

The Pattern Language standard library

Last updated 9 months ago

Was this helpful?

The std library is the Pattern Language's very own standard library. It contains various different helper functions and types as well wrappers for built-in functions.

Never use functions from the builtin:: namespace directly! These functions are exposed by the runtime to provide native implementations of various functions.

Instead, include the correct library file and use the functions defined in there. Failing to do so will result in your pattern randomly breaking between updates.

The and modules define members in the bare std:: namespace.

io
sys