feat: add clang-format config, CI workflow, Makefile, and initial C source scaffolding for dobre language

This commit is contained in:
2025-01-18 22:15:47 +00:00
commit 088ec1e147
34 changed files with 5255073 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
class StringA{}
class StringB{}
StringA a = "Test"
StringB b = "Tost"
+5
View File
@@ -0,0 +1,5 @@
class String {}
String pony(){}
pony(String arg1, String arg2 = "with_value"){}
+1
View File
@@ -0,0 +1 @@
NonExistitingClass A{}
@@ -0,0 +1,2 @@
class A {}
class A {}
+8
View File
@@ -0,0 +1,8 @@
class Pony {
}
class NotACat(Pony,Pony){
}
+5
View File
@@ -0,0 +1,5 @@
class Integer {}
for(i = 0 i = 20 i = 30){
// code
Integer j = 55
}
View File
+12
View File
@@ -0,0 +1,12 @@
#debug
class Integer {}
Integer i = 1
i = 1
i == 1
i != 1
i > 1
i < 1
i >= 1
i <= 1
+18
View File
@@ -0,0 +1,18 @@
class String{}
class String2{}
class String3{}
class String4{}
while(){
while(
String a = 2
){
}
}
while(){while(String b = 3){}}
// Nested
while(){while((String c = 4)){String d = 5}}