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 deno.
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.
HC can also be used to define easily-parseable variants of other common file formats (e.g., HCSV, HCSON).
deno install
export DEBUG=true # optional
deno task hc
This will launch the interpreter.
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.
-
Clone the github repository.
-
Install deno.
- e.g.,
brew install deno
on macOS.
- e.g.,
-
Run
deno task test
.
NOTE: The language-hclang vscode extension is still being updated.
From the feature branch:
-
Update
CHANGELOG.md
andversion
indeno.json
-
Run
deno task tag
to commit version and tag release -
Merge PR to
main
to publish
Should automatically publish to jsr.