diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..da23d0d --- /dev/null +++ b/.gitignore @@ -0,0 +1,25 @@ +# Logs +logs +*.log + +# Runtime data +pids +*.pid +*.seed + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directory +# Deployed apps should consider commenting this line out: +# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git +node_modules diff --git a/README.md b/README.md index 69e5928..57ad6bb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +JLambda +======= + JLambda is a functional language in the spirit of languages such as Scheme, SML, or Clean. It aims to have a very flexible syntax and a clean and easy to understand type system. Another goal is to generate very efficient JavaScript @@ -11,3 +14,18 @@ JLambda also aims to support concurrency which will be built on a continuation-passing style intermediate language. I have not figured out how scheduling threads will work, or whether I will provide any programmer directed way of scheduling (i.e. yield). + +Installation +------------ + + git clone git@github.com:nisstyre56/JLambda.git + cd JLambda + npm install + +Usage +----- + +Since the language is currently under heavy construction, the parser is the +entry point for now: + + cat example.jl | ./parse.js diff --git a/package.json b/package.json new file mode 100644 index 0000000..f3044c2 --- /dev/null +++ b/package.json @@ -0,0 +1,26 @@ +{ + "name": "JLambda", + "version": "0.0.0", + "description": "yet another static functional language implemented in JS", + "scripts": { + "test": "./test.js" + }, + "repository": { + "type": "git", + "url": "https://github.com/nisstyre56/JLambda.git" + }, + "keywords": [ + "static", + "functional", + "language" + ], + "author": "nisstyre56", + "license": "ΩF:∅", + "bugs": { + "url": "https://github.com/nisstyre56/JLambda/issues" + }, + "homepage": "https://github.com/nisstyre56/JLambda", + "dependencies": { + "underscore": "^1.6.0" + } +}