aboutsummaryrefslogtreecommitdiff
path: root/std/io.zig
AgeCommit message (Collapse)Author
2017-01-23update charToDigit to take advantage of switch syntaxAndrew Kelley
2017-01-22use comptime instead of inline for var and paramsAndrew Kelley
See #221
2016-12-31IR: progress toward compiling standard libraryAndrew Kelley
* comptime fn call * is_comptime doesn't count as an instruction dependency * update more std code to latest zig
2016-12-18hello.zig working with all structs anonymousAndrew Kelley
2016-12-18IR: basic support for implicit casting to const pointerAndrew Kelley
2016-12-18IR: update some std code to newest zigAndrew Kelley
2016-12-17IR: fix switching on enumAndrew Kelley
2016-09-28remove compiler directivesAndrew Kelley
* add `setFnTest`, `setFnVisible`, `setFnStaticEval`, `setFnNoInline` builtin functions to replace previous directive functionality * add `coldcc` and `nakedcc` as keywords which can be used as part of a function prototype. * `setDebugSafety` builtin can be used to set debug safety features at a per block scope level. * closes #169
2016-09-23stack trace is able to figure out compilation unitAndrew Kelley
each address is contained within also fix a bug having to do with codegen for enum value initialization expressions
2016-09-14darwin compat fixupsAndrew Kelley
- delete commented out code - delete redundant check for missing mmacosx-version-min/maxdir - add TODO comment in std library - rename 'os' to 'self' in io.zig - `openSelfExe` aborts on darwin instead of compile error - only allow warnings on the one parseh test that has `#include <stdint.h>`.
2016-09-14MacOSX compatibilityalter
- Implemented some syscall for MacOSX - tested on : El Capitan 10.11 x86_64 - make self hosted test run on macosx - modified run_test so it does not fail when parseh throws warnings (most of them are related to buildin types from gcc that arent defined in header files and unions) - making -mmacosx-version-min and -mios-version-min works like gcc (command line paramers have precedence over enviroment variables)
2016-09-13change `unreachable{}` to `@unreachable()`Andrew Kelley
instead of a container init expression, it's a builtin function call.
2016-09-10std: use parameter type inference on min and max functionsAndrew Kelley
2016-09-08std: avoid calling close twice in InStreamAndrew Kelley
thanks ofelas for pointing this out
2016-09-05rename compileErr builtin to compileErrorAndrew Kelley
2016-08-31fix std io input to work for non seekable fdsAndrew Kelley
2016-08-17progress toward stack trace printingAndrew Kelley
2016-08-16std: replace print_u64/i64 with printIntAndrew Kelley
2016-08-16std: conform to style guidelinesAndrew Kelley
2016-07-27explicit wrapping integer operationsAndrew Kelley
instead of wrapping integer types closes #159
2016-07-26unsigned integers for sizes of thingsAndrew Kelley
Closes #62.
2016-07-26std: add OutStream.write_byteAndrew Kelley
2016-07-25inline parametersAndrew Kelley
This replaces the current generic syntax for functions and replaces it with the concept of inline parameters. This paves the way for the "all structs anonymous" proposal. Closes #151.
2016-05-15Add unsigned and signed generic print fnsTravis McDemus
Signed-off-by: Andrew Kelley <superjoe30@gmail.com>
2016-05-13std: make parsing an unsigned number genericAndrew Kelley
2016-05-11recognize ar program and pass --gc-sections to ldAndrew Kelley
See #54
2016-05-08not-yet-working implementation of generic hash mapAndrew Kelley
2016-04-18rearrange standard library a bitAndrew Kelley
2016-04-08update cat example, refactor stdAndrew Kelley
partial implementation of @err_name
2016-03-01rename syscall.zig to linux.zigAndrew Kelley
2016-03-01rewrite how importing worksAndrew Kelley
* Introduce the concept of packages. Closes #3 * Add support for error notes. * Introduce `@import` and `@c_import` builtin functions and remove the `import` and `c_import` top level declarations. * Introduce the `use` top level declaration. * Add `--check-unused` parameter to perform semantic analysis and codegen on all top level declarations, not just exported ones and ones referenced by exported ones. * Delete the root export node and add `--library` argument.