Amber Skills Reference Guide

Document the Amber programming language's compiler, standard library, and tooling.

51|6|Updated Mar 28, 2019
One-click install
npx skills add https://github.com/Mte90/dotfiles --skill amber-skills-reference-guide
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Amber Skills Reference Guide
Source: https://github.com/Mte90/dotfiles/tree/main/.config/opencode/skills/amber
Command: npx skills add https://github.com/Mte90/dotfiles --skill amber-skills-reference-guide

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This guide provides comprehensive documentation for the Amber programming language, enabling developers to understand its compiler, standard library, syntax, and tooling for effective contribution and usage.

Core Features & Use Cases

  • Compiler Internals: Detailed explanation of the Amber compiler's architecture, pipeline, and key concepts.
  • Standard Library Reference: Comprehensive documentation for all standard library modules and functions.
  • Language Syntax Guide: Clear explanations of data types, variables, functions, control flow, and commands.
  • Testing & Tooling: Information on how to run tests and utilize the Amber CLI for building, running, and checking code.
  • Use Case: A new contributor can use this guide to quickly understand how to add a new feature to the Amber compiler or implement a new function in the standard library.

Quick Start

To compile an Amber script named 'my_script.ab' into a Bash script, run the command 'amber build my_script.ab -o my_script.sh'.

Frequently Asked Questions about Amber Skills Reference Guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compile an Amber script into a Bash script?

To compile an Amber script, run the command 'amber build my_script.ab -o my_script.sh' using the Amber CLI. This translates your Amber code into an executable Bash script.

What does the Amber compiler pipeline architecture look like?

The Amber compiler pipeline processes source code through structured architectural stages and a module system. This guide details key compilation concepts, error handling mechanisms, and internal file structures.

Where can I find documentation for Amber standard library modules and functions?

Amber standard library documentation provides comprehensive references for all built-in modules and functions. It covers usage patterns to help developers implement new functions or utilize existing libraries effectively.

How do I run tests and use the Amber CLI for checking code?

The Amber CLI supports building, running, and checking code, alongside dedicated testing frameworks. You can execute test suites to validate standard library functions and compiler behavior.

Can I use this reference to contribute new features to the Amber compiler?

Yes, this guide details the compiler architecture and migration notes specifically for contributors. New developers can understand key files and the compilation pipeline to add features or standard library functions.