scriptor/reph

Repl server for Pharen

Maintainers

Details

github.com/Scriptor/reph

Source

Issues

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:project

dev-master 2014-06-13 01:48 UTC

This package is not auto-updated.

Last update: 2025-04-26 17:56:01 UTC


README

Requirements

  1. You need the Pharen language installed.
  2. A simple TCP client, netcat on Linux (nc) works great

Usage

Compile Reph with:

$ pharen reph.phn

Start the server:

$ php reph.php
Initializing Reph server on 127.0.0.1:10000

Note that this uses .php

Connect to the server with your client and hack away!

$ nc localhost 10000
Initialized Pharen REPL. (map) new worlds!
pharen> (map (* 2) [1 2 3])
[2, 4, 6]
pharen>