A simple PureScript expression evaluation tool
Go to file
2022-11-02 04:15:41 -03:00
.github ci: add depandabot 2022-11-02 04:15:41 -03:00
src feat: add main append 2022-11-02 04:11:31 -03:00
test test: fix nix flake check 2022-11-02 04:11:31 -03:00
.gitignore feat: bootstrap purs-nix project 2022-11-02 04:11:31 -03:00
flake.lock fix: add missing xhr ffi dep 2022-11-02 04:11:31 -03:00
flake.nix feat: add import rename 2022-11-02 04:11:31 -03:00
LICENSE feat: Initial commit 2022-11-02 04:11:23 -03:00
package-lock.json fix: add missing xhr ffi dep 2022-11-02 04:11:31 -03:00
package.json build: add missing pkg name 2022-11-02 04:11:31 -03:00
README.md doc: add node pipe 2022-11-02 04:11:31 -03:00

purs-eval

A simple PureScript expression evaluation tool

Usage

EXAMPLE=cat <<EOF
module Main where

import Effect.Console (log)

main = log "hello"
EOF

# With npm
echo $EXAMPLE | npx purs-eval

# With nix
echo $EXAMPLE | nix run github:klarkc/purs-eval 

# Piping to node
echo $EXAMPLE | npx purs-eval | nix run nixpkgs#nodejs -- --experimental-network-imports --input-type module