element.version === currentVersion)) { versionNodes.unshift({ version: currentVersion, url: "#" }); } document.querySelector("#project-version").innerHTML = versionNodes.reduce( (acc, element) => { const status = currentVersion === element.version ? "selected disabled" : ""; return ` ${acc} `; }, `
..." /> pcl · v1.2.0

pcl

A package for parsing PCL files.

Package Version Hex Docs

Quickstart

To check the capabilities of this package, just run the following example:

import pcl

pub fn main() {
  // Your input string
  let input = "hello: \"world\""
  // Parse the input string
  let output = pcl.parse(input)
  // Check if the parsing was successful
  assert Ok(value) = output
  // Print the parsed value
  io.debug(value)
}

Further documentation can be found at https://hexdocs.pm/pcl.

Installation

To install this package, run the following command:

gleam add pcl

The docs are available at https://hexdocs.pm/pcl.

Search Document