pnacl

package pnacl
Provides PNaCl support for Nit.

Concerns

  • pnacl: Provides PNaCl support for Nit.
    • pnacl: Provides PNaCl support for Nit.

pnacl::pnacl

module pnacl

Provides PNaCl support for Nit.

To use this module and compile for PNaCl, you must install the NaCl SDK (This file is based on Pepper 33). If NACL_SDK_ROOT is not set in your PATH, you have to work in 'nacl_sdk/pepper_your_pepper_version/getting_started/your_project_folder'.

Introduces
  • Pepperable: Provides a method to convert in PepperVars.
  • PnaclApp:  Class that provides the tools to interact with PNaCl.
  • PepperDictionary: Nit class representing a Pepper C API PP_Var typed as a Dictionary.
  • PepperArray: Nit class representing a Pepper C API PP_Var typed as an Array.
  • PepperVar: Nit class representing a Pepper C API PP_Var.
  • PnaclStream: A stream for PNaCl, redefines basic input and output methods.
Redefines
  • Sys:  For a PNaCl app, Sys uses PnaclStreams.
  • Bool: Native Booleans.
  • Float: Native floating point numbers.
  • Int: Native integer numbers.
  • String: Immutable sequence of characters.