phel-lang

Write, verify, and execute Phel code integrated with PHP.

15|8|Updated Jun 6, 2021
One-click install
npx skills add https://github.com/phel-lang/phel-lang.org --skill phel-lang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phel-lang
Source: https://github.com/phel-lang/phel-lang.org/tree/main/.claude/skills/phel-lang
Command: npx skills add https://github.com/phel-lang/phel-lang.org --skill phel-lang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires phel, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill unit provides a platform to write, verify, and execute Phel code (Lisp on PHP), streamlining the development process for those using this programming language.

Core Features & Use Cases

  • Phel Code Editing and Verification: Write Phel code and verify its correctness with the provided tools.
  • Integration with PHP: Leverage the integration with PHP for better development experience.
  • Use Case: For developers who want to quickly write and test Phel code snippets or entire applications, without having to set up a full development environment.

Quick Start

Execute the Phel code snippet to calculate the factorial of a number (e.g., `./vendor/bin/phel run -e '(println (factorial 5))').

Frequently Asked Questions about phel-lang

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

FAQPage Schema
How do I write and verify Lisp code in PHP?

Write and verify Lisp code in PHP using Phel, which provides Lisp syntax integration for PHP development. It allows you to script and automate tasks while verifying code correctness within your existing PHP workflow.

Can I run Phel code snippets without setting up a full development environment?

Yes, you can execute Phel code snippets directly using the run command, such as `./vendor/bin/phel run -e '(println (factorial 5))' for quick calculations. This requires the phel dependency to be installed.

What is Phel used for in PHP development?

Phel is used for scripting and automating tasks in PHP development by providing a Lisp-like syntax. It enables developers to write, verify, and execute code efficiently for functional programming integration.

Do I need PHP installed to use Phel?

Yes, Phel requires the phel dependency and a PHP environment to execute and verify code. It leverages PHP integration to provide Lisp-like development capabilities.

How does Phel compare to standard PHP for scripting?

Phel differs from standard PHP by offering Lisp-like syntax for scripting, enabling functional programming patterns and code verification directly within the PHP runtime environment.

Why is my Phel code verification not working?

Phel code verification requires the phel dependency to be correctly installed. Ensure your environment meets the dependency requirements and execute scripts using the correct run commands.