inweb-bootstrap/README

39 lines
1.2 KiB
Text
Raw Normal View History

-*- mode: org -*-
Inweb-bootstrap is a fork of [[https://github.com/ganelson/inweb][Inweb]] that aims to be [[https://bootstrappable.org/][bootstrappable]].
Rather than relying on a pre-generated inweb.c to build itself,
it will instead be properly built from the source code and an
understandable build system.
* Requirements
- noweb (noweave, notangle and cpif)
- texlive-scheme-basic (pdflatex)
* Installation
autoreconf -vif
./configure && make && make check && make install
* How It Works
Inweb is written in its own literate programming(LP) markup syntax and C dialect.
The markup syntax is 1:1 with noweb's syntax excluding the fancy features.
The InC dialect is very similiar to C++, but has a lot of syntactic sugar
for declarations and importing headers.
Inweb-bootstrap will use noweb as the LP markup syntax and C++ as the source code
programming language since it requires the least amount of work.
* Contact
Patches that help with bootstrapping Inweb are greatly appreciated,
especially with making the source code valid C++.
The patches can be sent to Inweb-bootstrap's maintainer.
* Inweb & Inweb-bootstrap
Once Inweb-bootstrap is complete, hopefully the upstream Inweb project
will use it as the official way to build Inweb.