# Hscm **Repository Path**: MoleSir/hscm ## Basic Information - **Project Name**: Hscm - **Description**: Implementing Scheme in Haskell - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-03-27 - **Last Updated**: 2025-04-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: scheme, Haskell, Language ## README # Hscm Scheme in Haskell. A simple, non-optimized implementation! - [x] Parse source code - [x] Evaluate - [x] Repl - [x] Execute file - [x] Var/Function - [x] Prelude Library - [x] IO Function - [ ] More keywords `and`, `or`, ... ## Quick Start Run a scheme repl: ```bash cabal run hscm ``` Entry the repl cli ````bash Hscm>>> (+ 1 2 4) 7 Hscm>>> (cdr '(a simple test)) (simple test) Hscm>>> quit ```` Or you can exceute a .scm file like: ```bash $ cabal run hscm ./script/factorial.scm Factorial of 5: 120 ``` Test all testcase in ```bash cabal test ``` ## Reference - https://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_Hours