|
Revision 2969:529427b7fe14, 1.2 kB
(checked in by Etienne Millon <etienne . millon AT eads . net>, 3 months ago)
|
|
INSTALL: npksimplify does not exist anymore
|
|
|
| Line | |
|---|
| 1 | C2Newspeak is a library to compile C to the intermediate language Newspeak. |
|---|
| 2 | Newspeak is designed for the purpose of static analysis. |
|---|
| 3 | |
|---|
| 4 | - Do: |
|---|
| 5 | make |
|---|
| 6 | This will compile and copy to the bin/ directory the files: |
|---|
| 7 | newspeak.cmi newspeak compiled interface |
|---|
| 8 | newspeak.cma newspeak library for caml bytecode compiler |
|---|
| 9 | newspeak.a newspeak.cmxa newspeak library for caml native-code compiler |
|---|
| 10 | c2newspeak compiler from C to Newspeak |
|---|
| 11 | npkstats statistics on Newspeak files |
|---|
| 12 | npkstrip removes all functions not called from main |
|---|
| 13 | |
|---|
| 14 | This will produce the documentation in html in the doc/ directory. |
|---|
| 15 | The documentation index file is index.html. |
|---|
| 16 | |
|---|
| 17 | - To compile a C file to Newspeak, use c2newspeak |
|---|
| 18 | - To read and manipulate Newspeak files in your own project, use the libraries |
|---|
| 19 | newspeak.cma (for bytecode) |
|---|
| 20 | or newspeak.a and newspeak.cmxa (for native-code). (Note that newspeak.cmxa |
|---|
| 21 | needs the standard ocaml nums.cmxa) |
|---|
| 22 | - Please refer to the documentation doc/index.html. |
|---|
| 23 | |
|---|
| 24 | If you find a bug, have a comment or a question, don't hesitate to visit |
|---|
| 25 | http://www.penjili.org/ and submit a ticket, or directly send an email to |
|---|
| 26 | charles.hymans(@)penjili.org. |
|---|
| 27 | |
|---|
| 28 | - Requirements: |
|---|
| 29 | - make |
|---|
| 30 | - Objective Caml |
|---|
| 31 | - patch |
|---|