hclang
v0.5.14
Published
Homoiconic C: Programming without a Language
Downloads
16
Maintainers
Readme
Homiconic C
version: 0.5.11
Introduction
Homoiconic C (HC) is a single universal language for code and data. This repository contains the first implementation of HC as an interpreter written in TypeScript running on nodejs
. It also contains a sample application called MAML, the Multipurpose Abstract Markup Language. MAML is a radically simple proposal for replacing all the existing web technologies (HMTL, CSS, JavaScript, SVG, etc.) with a single format based on HC. It can also be used to define easily-parseable variants of other common file formats (e.g., HCSV, HCSON).
Usage
$ npm install
$ export DEBUG=true # optional
$ npm run hc
This will launch the interpreter.
BitScheme
To generate and run the BitScheme documentation, type:
$ npm run bs:all
This will open the BitScheme.html file, and also run the documentation through the testdoc evaluator which will generate pass/fail messages.
Development
Install the Atom editor.
Install the language-maml Atom package.
Clone the github repository.
Install node.js.
- e.g.,
brew install node
on macOS.
- Run
npm test
.
Publishing
From the feature branch:
Update CHANGELOG.md
Run
npm run done
to bump version and tagMerge PR
Should automatically publish to npmjs.