Andrew Kelley
|
9dfbdeace6
|
add import test
|
2017-09-09 22:54:50 -04:00 |
|
Andrew Kelley
|
4c78142af1
|
rename some behavior tests
|
2017-09-09 22:53:32 -04:00 |
|
Andrew Kelley
|
bc0a60c7a6
|
more compile errors for non-const variables of things
closes #456
|
2017-09-09 22:46:08 -04:00 |
|
Andrew Kelley
|
5fdf3fa195
|
std.fmt knows how to format &[N]u8
|
2017-09-09 19:42:31 -04:00 |
|
Andrew Kelley
|
120e2fdf8b
|
build: add more search paths for libclang
thanks @smaeul
|
2017-09-09 17:17:36 -04:00 |
|
Marc Tiehuis
|
f725b20de6
|
Add appendSlice function (#448)
|
2017-09-09 13:49:40 -04:00 |
|
Marc Tiehuis
|
67a31befa6
|
Add exit function (#450)
|
2017-09-09 13:48:44 -04:00 |
|
Jonathan Marler
|
850a1d2054
|
Switched find order for llvm, means it will choose llvm version 5.0 before any other version. (#446)
|
2017-09-08 17:08:24 -04:00 |
|
Andrew Kelley
|
d244deb59e
|
fix std.Buffer.endsWith
thanks for the report by jean-dao
closes #443
|
2017-09-08 09:19:02 -04:00 |
|
Andrew Kelley
|
2c8ff1d47b
|
std.ChildProcess.spawn: handle 0 from waitpid correctly
|
2017-09-08 01:23:48 -04:00 |
|
Andrew Kelley
|
838d52a8be
|
std.os.ChildProcess: don't expect all SIGCHLD to come from spawn
|
2017-09-08 00:45:45 -04:00 |
|
Andrew Kelley
|
a81e516174
|
fix ChildProcess.spawn on darwin
|
2017-09-08 00:04:43 -04:00 |
|
Andrew Kelley
|
9fb4d1fd6c
|
std: os.ChildProcess knows when its child died
using signal handlers
|
2017-09-07 23:10:51 -04:00 |
|
Andrew Kelley
|
9dfaf3166d
|
README: add notepad++ syntax highlighting project
closes #442
|
2017-09-07 17:31:26 -04:00 |
|
Andrew Kelley
|
9f7e62b95b
|
std: add ChildProcess.kill
|
2017-09-06 18:30:45 -04:00 |
|
Andrew Kelley
|
7e59f4ff69
|
std: add os.sleep
|
2017-09-06 16:59:22 -04:00 |
|
Andrew Kelley
|
1f2548ec5f
|
better build.zig template
|
2017-09-06 14:18:14 -04:00 |
|
Andrew Kelley
|
e7c3aa7f7c
|
parsec: turn panics into warnings
|
2017-09-06 01:00:42 -04:00 |
|
Andrew Kelley
|
4b6e278028
|
travis: use embedded LLD and perform all tests
apt.llvm.org has a new enough LLVM build for trusty
|
2017-09-05 22:55:56 -04:00 |
|
Andrew Kelley
|
2c9bdad346
|
rename parseh to parsec
|
2017-09-05 22:55:03 -04:00 |
|
Andrew Kelley
|
48c44615a4
|
Merge branch 'c-to-zig'
|
2017-09-05 18:51:48 -04:00 |
|
Andrew Kelley
|
3ff465e288
|
add OpaqueType builtin
closes #326
|
2017-09-05 18:51:07 -04:00 |
|
Andrew Kelley
|
c3362c1cb6
|
fix void return node and param name nodes, fix dupe macros
all tests passing
|
2017-09-05 03:11:59 -04:00 |
|
Andrew Kelley
|
87970920c4
|
parseh: fix duplicate definitions
|
2017-09-05 02:34:06 -04:00 |
|
Andrew Kelley
|
5c386f9911
|
parseh: remove unneeded hash tables
|
2017-09-05 01:22:26 -04:00 |
|
Andrew Kelley
|
f6c271f8eb
|
parseh tests passing
|
2017-09-05 00:52:05 -04:00 |
|
Andrew Kelley
|
b64843bf70
|
parseh: fix generating functions from macros
|
2017-09-05 00:45:09 -04:00 |
|
Andrew Kelley
|
cc621cdee3
|
fix parseh bugs
|
2017-09-05 00:21:02 -04:00 |
|
Andrew Kelley
|
e1d5da20a5
|
rewrite parseh to use AST instead of direct types
some tests still failing
|
2017-09-02 04:11:23 -04:00 |
|
Josh Wolfe
|
0f38955ee5
|
translate while loops and implicit bitcasts
|
2017-09-01 12:51:45 -07:00 |
|
Josh Wolfe
|
fa8912ab78
|
translate some variable declaration cases
|
2017-09-01 12:03:21 -07:00 |
|
Josh Wolfe
|
7e1bf6d29b
|
progress toward variable declaration translation
|
2017-09-01 11:45:06 -07:00 |
|
Josh Wolfe
|
a260cfa4dd
|
Merge remote-tracking branch 'origin/c-to-zig' into c-to-zig
|
2017-09-01 11:42:48 -07:00 |
|
Josh Wolfe
|
0d0fffe4d2
|
start implementing variable declaration translation
|
2017-09-01 11:39:48 -07:00 |
|
Andrew Kelley
|
80d75cf3bf
|
here, have trans_qual_type
|
2017-09-01 14:39:17 -04:00 |
|
Andrew Kelley
|
60bdbe5405
|
parseh: emit_warning takes SourceLocation
|
2017-09-01 13:39:16 -04:00 |
|
Josh Wolfe
|
1449e71de8
|
cleanup whitespace
|
2017-09-01 10:27:04 -07:00 |
|
Andrew Kelley
|
46e9d9df51
|
c-to-zig: less than, negation, ternary
|
2017-09-01 04:38:57 -04:00 |
|
Andrew Kelley
|
ee9d1d0414
|
c-to-zig: return statement
|
2017-09-01 03:16:35 -04:00 |
|
Josh Wolfe
|
848504117f
|
Revert "fix return types of min amd max"
This reverts commit 180fe8d506 .
|
2017-08-31 17:56:06 -07:00 |
|
Josh Wolfe
|
180fe8d506
|
fix return types of min amd max
|
2017-08-31 17:45:34 -07:00 |
|
Andrew Kelley
|
06b64d82bf
|
only export __chkstk for windows
it's a windows only function anyway
|
2017-08-31 20:10:24 -04:00 |
|
Raul Leal
|
e93ece7514
|
Opaque ptr patch
|
2017-08-31 18:01:09 -04:00 |
|
Andrew Kelley
|
c42e809f13
|
setEvalBranchQuota must be called from top of comptime stack
|
2017-08-31 16:54:20 -04:00 |
|
Andrew Kelley
|
67b6dd28ec
|
allow array literals to have size and fix comptime bug
|
2017-08-31 16:30:46 -04:00 |
|
Andrew Kelley
|
eb0979189b
|
add windows to test targets
cross-compiling hello world with no libc for windows is working
|
2017-08-31 11:41:58 -04:00 |
|
Andrew Kelley
|
156a84e80f
|
compiler-rt: add __aeabi_uldivmod
|
2017-08-31 01:39:20 -04:00 |
|
Andrew Kelley
|
021155db5b
|
successfully cross-building behavior tests for windows
|
2017-08-30 17:01:14 -04:00 |
|
Andrew Kelley
|
41da9fdb69
|
LLD: fix libCOFF calling exit() instead of return
|
2017-08-30 17:00:12 -04:00 |
|
Andrew Kelley
|
eb8440441f
|
travis: skip cross compiling osx tests
we have to skip cross compiling OSX tests because
apt.llvm.org has an old version of llvm for the
version of ubuntu that travis is running on.
|
2017-08-30 15:22:50 -04:00 |
|