From a6c721da56a3615a5dab91a0f2091e0d7289147a Mon Sep 17 00:00:00 2001 From: Dan Kaplun Date: Tue, 3 Jun 2014 00:14:32 -0500 Subject: [PATCH 1/3] Adds simple NodeJS .gitignore --- .gitignore | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitignore 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 -- 2.30.2 From bd801f8e18a95cd4fd55aa7e97b48049234489b2 Mon Sep 17 00:00:00 2001 From: Dan Kaplun Date: Tue, 3 Jun 2014 00:17:14 -0500 Subject: [PATCH 2/3] Adds package.json --- package.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 package.json 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" + } +} -- 2.30.2 From 5b847fe09070f4db6c7ec075b44cc6f4692fcfca Mon Sep 17 00:00:00 2001 From: Dan Kaplun Date: Tue, 3 Jun 2014 00:21:27 -0500 Subject: [PATCH 3/3] Adds installation and usage instructions to README --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 -- 2.30.2