Browse Source

Files generati automaticamente rimossi dal repository

Daniele Lacamera 4 years ago
parent
commit
d1aa8ddfd6
4 changed files with 7 additions and 47 deletions
  1. 2 0
      .gitignore
  2. 5 1
      caratteri.py
  3. 0 9
      hello_world.c
  4. 0 37
      long_division.c

+ 2 - 0
.gitignore

@@ -1,3 +1,5 @@
 *.o
 elea
+hello-world.c
+long-division.c
 

+ 5 - 1
caratteri.py

@@ -38,7 +38,11 @@ def stringa_elea_a_c(l):
     e2 = elea_a_c(e)
     return e2 + "    /* " + l + " */"
 
-PROLOGO = """#include "elea_tipi.h"
+PROLOGO = """/* Questo file e` generato automaticamente a partire
+ * dai sorgenti testuali (file .elea-txt).
+ * Non modificare!
+ */
+#include "elea_tipi.h"
 
 const carattere %s[] = {
 """

+ 0 - 9
hello_world.c

@@ -1,9 +0,0 @@
-#include "elea_tipi.h"
-
-const carattere hello_world[] = {
-      1,   1,   0,   0,   1,  11,   6,  16,    /* 11 0017 # Φ */
-      0,  41,  41,  41,  41,  41,   6,   0,    /* 0X XXXX # 0 */
-     31,  24,  55,  55,  57,  40,  57,  60,  55,  20,    /* HELLO WORLD */
-};
-
-const int hello_world_lunghezza = sizeof(hello_world) / sizeof(carattere);

+ 0 - 37
long_division.c

@@ -1,37 +0,0 @@
-#include "elea_tipi.h"
-
-const carattere long_division[] = {
-      0,   0,   0,   0,   0,   0,   0,   0,    /* 00 0000 0 0 */
-      0,   0,   0,   0,   0,   0,   0,   0,    /* 00 0000 0 0 */
-      0,   0,   0,   0,   0,   0,   1,  58,    /* 00 0000 1 $ */
-      0,   0,   0,   0,   0,   0,   0,   0,    /* 00 0000 0 0 */
-      0,   0,   0,   0,   0,   0,   0,   0,    /* 00 0000 0 0 */
-      0,   0,   0,   0,   0,   0,   0,   0,    /* 00 0000 0 0 */
-      0,   0,   0,   0,   0,   0,   0,   0,    /* 00 0000 0 0 */
-      0,   0,   0,   0,   0,   0,   6,  17,    /* 00 0000 # A */
-      1,   4,   0,   1,   9,   0,   6,  25,    /* 14 0160 # F */
-      0,   1,   0,   3,   3,   9,   6,  18,    /* 01 0226 # δ */
-      3,   3,   0,   1,   4,   9,   6,  25,    /* 22 0146 # F */
-      0,   1,   0,   3,   1,  15,   6,  18,    /* 01 0218 # δ */
-      3,   3,   6,   6,   6,   6,   6,  14,    /* 22 #### # ÷ */
-      0,   0,   0,   1,   4,   9,   6,   1,    /* 00 0146 # 1 */
-     14,  14,   0,   0,  13,  13,   0,  12,    /* ÷÷ 00-- 0 9 */
-     14,  14,   0,   0,  13,  13,   0,   4,    /* ÷÷ 00-- 0 4 */
-     14,  14,   0,   1,   4,   9,  16,  12,    /* ÷÷ 0146 Φ 9 */
-      4,   0,   0,   3,   8,   0,   6,  43,    /* 40 0250 # Y */
-     14,  14,  13,  13,  13,  13,  16,   4,    /* ÷÷ ---- Φ 4 */
-      6,   6,   0,   1,   4,   9,  16,   8,    /* ## 0146 Φ 5 */
-     35,   6,   0,   0,   1,   8,  32,   0,    /* T# 0015 . 0 */
-      6,   6,   6,   6,   0,   0,   0,  17,    /* ## ##00 0 A */
-      1,   4,   0,   1,   9,   0,   6,  31,    /* 14 0160 # H */
-     40,   6,   0,   7,   3,   4,   6,   0,    /* W# 0324 # 0 */
-     58,  61,   0,   1,   3,   7,   6,  14,    /* $P 0123 # ÷ */
-      0,   0,   0,   0,   0,   0,  16,   7,    /* 00 0000 Φ 3 */
-     38,   6,   0,   3,  15,   4,   6,   0,    /* )# 0284 # 0 */
-      1,   4,   0,   1,   9,   0,   6,  23,    /* 14 0160 # C */
-     14,  14,   0,   0,   0,   1,   0,   4,    /* ÷÷ 0001 0 4 */
-     14,  14,   0,   0,   0,   1,  16,   5,    /* ÷÷ 0001 Φ + */
-     38,   6,   0,   1,   9,   0,   6,   0,    /* )# 0160 # 0 */
-};
-
-const int long_division_lunghezza = sizeof(long_division) / sizeof(carattere);