{"id":25185,"library":"dream-lang","title":"dream-lang","description":"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.","status":"abandoned","version":"0.0.1","language":"javascript","source_language":"en","source_url":"https://github.com/raoofha/dream-lang#readme","tags":["javascript","compiler","dream-lang","language"],"install":[{"cmd":"npm install dream-lang","lang":"bash","label":"npm"},{"cmd":"yarn add dream-lang","lang":"bash","label":"yarn"},{"cmd":"pnpm add dream-lang","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"dream-lang is a CLI tool transpiler, not a runtime library. Do not require it as a module.","wrong":"const dream = require('dream-lang')","symbol":"dream-lang (CLI)","correct":"npm install -g dream-lang && dream file.dream"}],"quickstart":{"code":"// Install dream-lang globally\nnpm install -g dream-lang@0.0.1\n\n// Create a file example.dream with:\ndef greet(name)\n  console.log \"Hello\" name\n  \ngreet \"World\"\n\n// Compile to JavaScript:\ndream example.dream\n// Output: example.js\n// Contains:\nfunction greet(name) {\n  console.log('Hello', name);\n}\ngreet('World');","lang":"javascript","description":"Shows install and transpilation using dream-lang CLI, compiling a simple function call."},"warnings":[{"fix":"Do not use in production. Consider alternatives like CoffeeScript or ClojureScript.","message":"The package is v0.0.1 but README refers to v0.0.0; it is extremely early and unstable.","severity":"gotcha","affected_versions":"0.0.1"},{"fix":"Expect any update to break existing code. Avoid using in any project.","message":"No test suite, no documentation beyond README, and no breaking change policy.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install globally: npm install -g dream-lang","cause":"dream-lang is not installed globally or not in PATH.","error":"command not found: dream"},{"fix":"Use dream-lang as a CLI transpiler: npm install -g dream-lang && dream file.dream","cause":"Attempting to require dream-lang as a Node.js module instead of using CLI.","error":"Error: Cannot find module 'dream-lang'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}