Andrew Kelley
|
d4b8852d78
|
parsing enum declarations
|
2016-01-10 11:48:54 -07:00 |
|
Andrew Kelley
|
0c24ed8a81
|
rename restrict to noalias
|
2016-01-08 23:48:24 -07:00 |
|
Andrew Kelley
|
b7dd88ad68
|
suport checked arithmetic operations via intrinsics
closes #32
|
2016-01-08 23:41:40 -07:00 |
|
Andrew Kelley
|
14b9cbd43c
|
add restrict qualifier on pointer arguments
|
2016-01-08 20:59:47 -07:00 |
|
Andrew Kelley
|
9aea99a999
|
implement array slicing syntax
closes #52
|
2016-01-07 05:29:11 -07:00 |
|
Andrew Kelley
|
a3c97081ca
|
add ?? maybe unwrapping binary operator
add null literal
fix number literal / maybe interactions
|
2016-01-07 03:23:38 -07:00 |
|
Andrew Kelley
|
5e64c4d92f
|
support pub structs. move rand to std lib.
guess number example prints the answer now
|
2016-01-06 04:41:11 -07:00 |
|
Andrew Kelley
|
3c43bc9208
|
support unknown size arrays
|
2016-01-06 01:28:58 -07:00 |
|
Andrew Kelley
|
4ef062b9c8
|
array syntax is [10]i32 instead of [i32; 10]
|
2016-01-05 22:47:47 -07:00 |
|
Andrew Kelley
|
e0aa0736be
|
add pointer dereferencing operator
|
2016-01-04 19:11:36 -07:00 |
|
Andrew Kelley
|
4514661cfe
|
add member functions
|
2016-01-04 16:57:22 -07:00 |
|
Andrew Kelley
|
e64c0941f9
|
implement #sizeof()
closes #8
|
2016-01-03 19:38:36 -07:00 |
|
Andrew Kelley
|
fa6e3eec46
|
add #typeof() compiler function
|
2016-01-03 18:17:50 -07:00 |
|
Andrew Kelley
|
968b85ad77
|
closer to guess number example working
|
2016-01-02 03:38:45 -07:00 |
|
Andrew Kelley
|
9a8851515b
|
basic maybe type working
|
2016-01-02 00:06:06 -07:00 |
|
Andrew Kelley
|
b3ac5c16ec
|
block expressions require parens
closes #39
|
2015-12-31 16:04:13 -07:00 |
|
Andrew Kelley
|
1f8e3871ee
|
parse if maybe expression
|
2015-12-26 15:05:27 -07:00 |
|
Andrew Kelley
|
5943f99510
|
implement continue expression
closes #6
|
2015-12-24 15:36:49 -07:00 |
|
Andrew Kelley
|
5ceaae288c
|
add break expression
|
2015-12-24 15:09:47 -07:00 |
|
Andrew Kelley
|
a030b60aeb
|
add while loop
|
2015-12-24 14:37:43 -07:00 |
|
Andrew Kelley
|
50357dad45
|
add struct value expression
|
2015-12-24 00:00:23 -07:00 |
|
Andrew Kelley
|
9ce36ba0cc
|
inline assembly uses -> instead of return
|
2015-12-23 15:49:34 -07:00 |
|
Andrew Kelley
|
431170d981
|
codegen: fix struct pointer field access
|
2015-12-22 13:22:40 -07:00 |
|
Andrew Kelley
|
5a8822c714
|
fix assignment operators for struct fields
|
2015-12-15 19:17:39 -07:00 |
|
Andrew Kelley
|
28c5a8f2ca
|
analyze: clean up type checking
|
2015-12-15 18:21:59 -07:00 |
|
Andrew Kelley
|
a292eb8d64
|
support inline assembly expressions with return type
|
2015-12-15 00:46:56 -07:00 |
|
Andrew Kelley
|
52e19b4a9b
|
analyze: BlockContext has concept of module scope
|
2015-12-14 22:06:25 -07:00 |
|
Andrew Kelley
|
3049410260
|
const and var instead of let and let mut
closes #34
|
2015-12-14 18:51:07 -07:00 |
|
Andrew Kelley
|
8b727557d3
|
doc: update vim syntax
|
2015-12-14 18:38:08 -07:00 |
|
Andrew Kelley
|
f17e20d5fe
|
instead of *mut and *const, & and &const
closes #33
|
2015-12-14 18:10:25 -07:00 |
|
Andrew Kelley
|
e411467e1d
|
add number literal type
it gets implicitly casted to whatever is needed.
closes #24
|
2015-12-14 02:46:37 -07:00 |
|
Josh Wolfe
|
eb1542c102
|
tokenizing assignment operators
|
2015-12-12 18:17:27 -07:00 |
|
Josh Wolfe
|
2082588201
|
fix short circuit expressions
|
2015-12-12 17:33:45 -07:00 |
|
Josh Wolfe
|
64dd0b8d95
|
fix a + b + c and similar
fix || and &&
closes #17
|
2015-12-12 17:07:43 -07:00 |
|
Andrew Kelley
|
a10277bd94
|
prepare codebase for struct and string support
parsing code for structs, strings, and c string literals
partial semantic analyzing code for structs, strings, and c string literals
|
2015-12-12 00:10:37 -07:00 |
|
Andrew Kelley
|
d697404f64
|
hello world working without libc
|
2015-12-11 03:55:26 -07:00 |
|
Andrew Kelley
|
0dbee2300e
|
add inline assembly support
|
2015-12-10 15:34:38 -07:00 |
|
Andrew Kelley
|
3e8a98fa61
|
add language reference documentation
|
2015-12-09 15:20:31 -07:00 |
|
Andrew Kelley
|
28debf1fc3
|
doc: update vim syntax
|
2015-12-09 12:32:33 -07:00 |
|
Andrew Kelley
|
f8ca6c70c7
|
add labels and goto
|
2015-12-03 00:47:35 -07:00 |
|
Andrew Kelley
|
08a2311efd
|
support if conditionals
|
2015-12-01 21:19:38 -07:00 |
|
Andrew Kelley
|
55b8472374
|
refactor code to prepare for multiple files
verbose compiler output is now behind --verbose flag
|
2015-11-30 20:00:39 -07:00 |
|
Andrew Kelley
|
e5d1f0eea5
|
parse and codegen for math expressions
|
2015-11-29 02:43:05 -07:00 |
|
Andrew Kelley
|
c810a0b381
|
more vim doc files
|
2015-11-27 21:48:58 -07:00 |
|
Andrew Kelley
|
cb4773ce29
|
add root export declaration which is overridable by command line options
|
2015-11-27 21:24:47 -07:00 |
|
Andrew Kelley
|
4cc95174a7
|
add tests for compile errors
|
2015-11-27 18:55:06 -07:00 |
|
Andrew Kelley
|
024052b448
|
add pub and export visibility modifiers and optimization
|
2015-11-27 15:46:06 -07:00 |
|
Andrew Kelley
|
afac1a0123
|
simple vim syntax highlighting
|
2015-11-24 23:44:08 -07:00 |
|