Commits

translate-c: more complex logic for translating a C cast in a macro

3577a80bb6 • Andrew Kelley • Dec 8, 2017

translate-c: support macros with pointer casting

182cf5b8de • Andrew Kelley • Dec 7, 2017

translate-c: refactor prefix and suffix op C macro parsing

dc502042d5 • Andrew Kelley • Dec 7, 2017

add higher level arg-parsing API + misc. changes

62c25af802 • Andrew Kelley • Dec 6, 2017

fix regressions from previous commit

249cb2aa30 • Andrew Kelley • Dec 6, 2017

switch on enum which only has 1 field is comptime known

f464fe14f4 • Andrew Kelley • Dec 6, 2017

fix enum with 1 member causing segfault

bb6b4f8db2 • Andrew Kelley • Dec 6, 2017

allow union and its tag type to peer resolve to the tag type

c49ee9f632 • Andrew Kelley • Dec 6, 2017

allow implicit cast from union to its enum tag type

2715f6fdb8 • Andrew Kelley • Dec 6, 2017

add implicit cast from enum to union

960914a073 • Andrew Kelley • Dec 6, 2017

fix casting integer literal to enum

63a2f9a8b2 • Andrew Kelley • Dec 5, 2017

translate-c: fix not printing clang errors

74cea89fce • Andrew Kelley • Dec 5, 2017

fix incorrect LLVM IR for union constant when active field is void

5ebed1c9ee • Andrew Kelley • Dec 4, 2017

rename builtin.is_big_endian to builtin.endian

a966275e50 • Andrew Kelley • Dec 4, 2017

Merge pull request #644 from Dubhead/Dubhead-fix-message-color

67e6d9bc30 • Andrew Kelley • Dec 4, 2017

add test for casting union to tag type of union

76f3bdfff8 • Andrew Kelley • Dec 4, 2017

fix build on windows

dd3437d5ba • Andrew Kelley • Dec 4, 2017

add test for union with 1 void field being 0 bits

54138d9e82 • Andrew Kelley • Dec 4, 2017

add test for @sizeOf on extern and packed unions

084911d9b3 • Andrew Kelley • Dec 4, 2017

update docs regarding enums and unions

942b250895 • Andrew Kelley • Dec 4, 2017

more tests for unions

05d9f07541 • Andrew Kelley • Dec 4, 2017

fix abi alignment of union-enums not counting tag type

fce435db26 • Andrew Kelley • Dec 4, 2017

rename @EnumTagType to @TagType. add tests for union-enums

5a8367e892 • Andrew Kelley • Dec 4, 2017

rework enums and unions and their relationship to each other

0ad1239522 • Andrew Kelley • Dec 4, 2017

ability to set tag values of enums

137c8f5e8a • Andrew Kelley • Dec 3, 2017

casting between integer and enum only works via tag type

98237f7c0b • Andrew Kelley • Dec 2, 2017

todo: fix #639

54a0db0daf • Josh Wolfe • Dec 2, 2017

implement insertion sort. something's broken

67b8b00c44 • Josh Wolfe • Dec 1, 2017

Merge branch 'llvm5.0.1'

921825b4c0 • Andrew Kelley • Dec 1, 2017

translate-c: only emit enum tag type if not c_int or c_uint

b4120423a5 • Andrew Kelley • Dec 1, 2017

packed structs can have enums with explicit tag types

264c86853b • Andrew Kelley • Dec 1, 2017

ability to specify tag type of enums

b62e2fd870 • Andrew Kelley • Dec 1, 2017

add mem.readIntLE and readIntBE

5786df933d • Josh Wolfe • Nov 30, 2017

fix build broken by previous commit

210d0017c4 • Andrew Kelley • Nov 30, 2017

translate-c: support static incomplete array inside function

7729f6cf4e • Andrew Kelley • Nov 30, 2017

fix capturing value of switch with all unreachable prongs

716b0b8655 • Andrew Kelley • Nov 30, 2017

better error code for File.getEndPos failure

ccea8dcbf6 • Andrew Kelley • Nov 30, 2017

add Buffer.appendFormat()

88a7f203f9 • Josh Wolfe • Nov 30, 2017

fix os.Dir compile errors

418b0967fc • Josh Wolfe • Nov 30, 2017

translate-c: support const ptr initializer

7066283004 • Andrew Kelley • Nov 29, 2017

translate-c: fix clobbering primitive types

26096e79d1 • Andrew Kelley • Nov 28, 2017

Merge branch 'dimenus-c-field-expr'

8d5c4a67a7 • Andrew Kelley • Nov 28, 2017

translate-c: fix sometimes getting (no file) warnings

1ab84a27d3 • Andrew Kelley • Nov 28, 2017

Implements translation for the prefix not operator (#628)

3e8fd24547 • Mason Remaley • Nov 28, 2017

translate-c: support pointer casting

671183fa9a • Andrew Kelley • Nov 27, 2017

translate-c: support variable name shadowing

93fac5f257 • Andrew Kelley • Nov 26, 2017

translate-c: fix translation when no default switch case

9a8545d590 • Andrew Kelley • Nov 26, 2017

translate-c: better way to translate switch

aa2ca3f02c • Andrew Kelley • Nov 26, 2017

translate-c supports switch statements

1b0e90f70b • Andrew Kelley • Nov 26, 2017

translate-c: avoid global state and introduce var decl scopes

687e359291 • Andrew Kelley • Nov 26, 2017

translate-c: introduce the concept of scopes

df0e875856 • Andrew Kelley • Nov 26, 2017

fix crash when constant inside comptime function has compile error

a2afcae9ff • Andrew Kelley • Nov 25, 2017

add an assert to catch corrupted memory

48ebb65cc7 • Andrew Kelley • Nov 25, 2017

translate-c supports break and continue

b390929826 • Andrew Kelley • Nov 25, 2017

translate-c supports for loops

bf20b260ce • Andrew Kelley • Nov 25, 2017

translate-c supports returning void

18eb3c5f90 • Andrew Kelley • Nov 25, 2017

fix assertion failed when invalid type encountered

cd36baf530 • Andrew Kelley • Nov 25, 2017

translate-c supports string literals

40480c7cdc • Andrew Kelley • Nov 25, 2017

translate-c: support pre increment and decrement operators

68312afcdf • Andrew Kelley • Nov 24, 2017

update homepage docs

741504862c • Andrew Kelley • Nov 24, 2017

rename "parsec" to "translate-c"

5a25505668 • Andrew Kelley • Nov 24, 2017

move base64 functions into structs

afbbdb2c67 • Josh Wolfe • Nov 21, 2017

rework std.base64 api

a44283b0b2 • Josh Wolfe • Nov 21, 2017

parse-c: support address of operator

339d48ac15 • Andrew Kelley • Nov 17, 2017

Merge pull request #617 from dimenus/dll-load

3e835973db • Andrew Kelley • Nov 17, 2017

add parse-c support for unions

b50c676f76 • Andrew Kelley • Nov 17, 2017

Merge branch 'unions'

d108689382 • Andrew Kelley • Nov 17, 2017

add docs for std.base64

7a74dbadd7 • Andrew Kelley • Nov 14, 2017

c-to-zig: handle UO_Deref

5029322aa1 • Andrew Kelley • Nov 14, 2017

parsec supports do loop

6ffaf4c2e2 • Josh Wolfe • Nov 14, 2017

parsec supports post increment/decrement with used result

012ce1481e • Josh Wolfe • Nov 14, 2017

parsec supports more compound assign operators

4c2cdf6f4d • Josh Wolfe • Nov 14, 2017

parsec supports bitshift operators

c1fde0e8c4 • Josh Wolfe • Nov 14, 2017

Merge branch 'dimenus-parsec'

6356724057 • Andrew Kelley • Nov 14, 2017

parsec supports C comma operator

57cd074959 • Josh Wolfe • Nov 14, 2017

parsec supports C NULL to pointer implicit cast

1f28fcdec5 • Josh Wolfe • Nov 14, 2017

fix windows trying to run linux-only tests

a890380b6a • Andrew Kelley • Nov 10, 2017

Merge branch 'bscheinman-linux_timer'

ca87f55a7b • Andrew Kelley • Nov 10, 2017

disable broken 32 bit windows test

1403748fd8 • Andrew Kelley • Nov 10, 2017

fix test failures

019f18058b • Andrew Kelley • Nov 10, 2017

fix test failure on 32 bit windows

403a46abcc • Andrew Kelley • Nov 10, 2017

Merge branch 'darwin-stat'

6bf1547148 • Andrew Kelley • Nov 10, 2017

Fix Stat include in darwin land (#605)

336d81894d • Jeff Fowler • Nov 9, 2017

fix typo on darwin lseek (#602)

52521d5f67 • Jeff Fowler • Nov 9, 2017

fix parameter of extern var args not type checked

7ea669e04c • Andrew Kelley • Nov 9, 2017

fix enum sizes too large

4f8c26d2c6 • Andrew Kelley • Nov 9, 2017

fix travis linux script

53b18c8542 • Andrew Kelley • Nov 7, 2017

std.io: introduce buffered I/O and change API

4543413491 • Andrew Kelley • Nov 7, 2017

add @memberType and @memberName builtin functions

634e8713c3 • Andrew Kelley • Nov 7, 2017

fix typos in std.io (#589)

f0dafd3f20 • scurest • Nov 6, 2017

Merge pull request #587 from scurest/c_alloc_redeclaration_of_mem

52a2992862 • Andrew Kelley • Nov 6, 2017

fix build on MacOS

4cc9fe90a8 • Andrew Kelley • Nov 4, 2017

add compile-time reflection for function arg types

f0d755153d • Andrew Kelley • Nov 4, 2017

slightly more verbose error message when building object file fails

4a6df04f75 • Andrew Kelley • Nov 4, 2017

Merge pull request #581 from Dimenus/line_endings

75afe73c66 • Andrew Kelley • Nov 3, 2017

Merge pull request #583 from Dimenus/libc_runtime

d4c1ed95ac • Andrew Kelley • Nov 3, 2017

Add emit command-line option (#580)

795703a39c • Marc Tiehuis • Nov 3, 2017

more compile-time type reflection

a31b23c46b • Andrew Kelley • Nov 3, 2017

fix incorrect debug info for empty structs

dc8b011d61 • Andrew Kelley • Nov 3, 2017

windows: use the same libc search within a compilation unit

abff1b6884 • Andrew Kelley • Nov 2, 2017