WIP: dev #1

Draft
nub31 wants to merge 103 commits from dev into master
8 changed files with 0 additions and 68 deletions
Showing only changes of commit 5364b0420a - Show all commits

0
examples/.gitignore vendored Normal file
View File

View File

@@ -1,15 +0,0 @@
{
"version": 1,
"modules": [
{
"name": "math",
"customTypes": {},
"identifiers": {
"add": {
"encodedType": "F(I(32),I(32),I(32))",
"exported": true
}
}
}
]
}

Binary file not shown.

View File

@@ -1,24 +0,0 @@
#include <float.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>
struct nub_core_string
{
const char *data;
int length;
};
int32_t nub_math_add_500748c2c6d70959(int32_t, int32_t);
int32_t nub_math_add_500748c2c6d70959(int32_t a, int32_t b)
{
{
return (a + b);
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,29 +0,0 @@
#include <float.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>
struct nub_core_string
{
const char *data;
int length;
};
extern int32_t nub_math_add_500748c2c6d70959(int32_t, int32_t);
int32_t nub_main_main_55882df37f903935();
int main(int argc, char *argv[])
{
return nub_main_main_55882df37f903935();
}
int32_t nub_main_main_55882df37f903935()
{
{
return nub_math_add_500748c2c6d70959(1, 2);
}
}