saltwater 0.11.0

A C compiler written in Rust, with a focus on good error messages.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// http://port70.net/~nsz/c/c11/n1570.html#7.19

#ifndef __STDC_STDDEF_H
#define __STDC_STDDEF_H
typedef long ptrdiff_t;
typedef unsigned long size_t;
typedef long max_align_t;
// Unicode is at most 32-bits per character
typedef int wchar_t;

#define NULL 0
#define offsetof(type, member) (offsetof not_currently_supported)
#endif