Skip to content

claeusdev/l-lang

Repository files navigation

L Language

L is a very simple untyped functional programming language based on lambda calculus for evaluating simple math expressions.

This project puts a web interface to the interpreter.

Screenshot 2025-05-28 at 15 22 22

🚀 Project Setup & Run Guide

This project contains:

  • ✅ A Haskell Scotty server (l-lang)
  • ✅ A Vite + React client (web-client)
  • ✅ Docker + Docker Compose configuration to run both together

📦 Project Structure

./            → Haskell Scotty app (with Dockerfile)
/web-client        → Vite + React app (with Dockerfile)
docker-compose.yml → top-level orchestration

🔧 Prerequisites


🏗 How to Build & Run

1️⃣ Clone the repository:

git clone https://github.com/claeusdev/l-lang
cd l-lang

2️⃣ Build and start everything:

docker compose up --build

✅ This will:


🌐 Access the Apps

Service Local URL
Server http://localhost:3000
Client http://localhost:5173

🔄 Common Commands

  • Stop the services:

    docker-compose down
  • Rebuild only:

    docker-compose build
  • View logs:

    docker-compose logs -f
  • Restart with rebuild:

    docker-compose up --build

About

A very minimal functional programming language implementation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •