Registry / serialization / dream-lang

dream-lang

JSON →
library0.0.1jsnpmunverified

dream-lang (v0.0.1) is a minimal JavaScript transpiler that compiles to JavaScript, described as a language between ClojureScript and CoffeeScript. It is extremely early-stage (v0.0.0 is referenced in the README) and self-compiling. Release cadence is unknown as the project appears abandoned or very experimental. Differentiators include Lisp-like syntax with indentation and parentheses alternatives, support for pattern matching via switch, set! mutation, and regex literals. However, it is not production-ready and lacks tests and core features like macros and infix operators.

npm install dream-lang
INSTALL
IMPORT
SIG · DREAM-LANG
D
dream-lang
serializationjavascriptv0.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

dream-lang (CLI)
npm install -g dream-lang && dream file.dream
const dream = require('dream-lang')
dream-lang is a CLI tool transpiler, not a runtime library. Do not require it as a module.

Shows install and transpilation using dream-lang CLI, compiling a simple function call.

// Install dream-lang globally npm install -g dream-lang@0.0.1 // Create a file example.dream with: def greet(name) console.log "Hello" name greet "World" // Compile to JavaScript: dream example.dream // Output: example.js // Contains: function greet(name) { console.log('Hello', name); } greet('World');
dream --version
Debug
Known issues
gotchaThe package is v0.0.1 but README refers to v0.0.0; it is extremely early and unstable.
fix
Do not use in production. Consider alternatives like CoffeeScript or ClojureScript.
affects: 0.0.1
gotchaNo test suite, no documentation beyond README, and no breaking change policy.
fix
Expect any update to break existing code. Avoid using in any project.
affects: >=0.0.0
Errors
Common errors & fixes
command not found: dream
dream-lang is not installed globally or not in PATH.
fix
Install globally: npm install -g dream-lang
Error: Cannot find module 'dream-lang'
Attempting to require dream-lang as a Node.js module instead of using CLI.
fix
Use dream-lang as a CLI transpiler: npm install -g dream-lang && dream file.dream
Upgrade
Version history
0.0.1latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
dream-lang — npm install dream-lang · libregistry