[SCM] Lisaac compiler branch, mildred-llvm, updated. lisaac-0.12-533-gfda4773

Mildred Ki'Lya silkensedai at online.fr
Wed Aug 26 12:45:35 UTC 2009


The following commit has been merged in the mildred-llvm branch:
commit fda4773a6899a84ff3fc08b72074a87007f9c8f8
Author: Mildred Ki'Lya <silkensedai at online.fr>
Date:   Wed Aug 26 14:45:21 2009 +0200

    add TODO about LLVM

diff --git a/TODO b/TODO
index 1ab8e73..96de359 100644
--- a/TODO
+++ b/TODO
@@ -33,3 +33,20 @@
     - Have a clear view of the places where code is written on the output file.
       Don't let anyone write in here anytime.
 
+ *  Add possibility to write LLVM IR using the LLVM C API. A binding to llvm-c
+    is required. See:
+    - http://npcontemplation.blogspot.com/2008/06/secret-of-llvm-c-bindings.html
+    - http://llvm.org/doxygen/dir_8bd7904b0608e55d63147cbe5e1eb28c.html
+    - http://llvm.org/doxygen/Core_8h-source.html
+    - http://en.wikipedia.org/wiki/Static_single_assignment_form
+
+ *  Lisaac could be modified to make bindings to external functions easier and
+    portable with both C and LLVM backend (I don't know for Java). Instead of
+    writing:
+      - some_c_function (i:INTEGER,c:CHARACTER):REAL <-
+        `SomeCFunction(@i, @c)`:(REAL);
+    We could have something like this in the **Section External**:
+      - `SomeCFunction` (i:INTEGER,c:CHARACTER):REAL;
+    Lisaac would then generate the function declaration only, and use it when
+    necessary. Bindings with C would never have been that simple, and portable
+    among backends.

-- 
Lisaac compiler



More information about the Lisaac-commits mailing list