Go to file
Luuk de Gram e7b7088056
wasm: Implement float_to_int
- This implements the float_to_int AIR instruction.
- Lowering a decl_ref to a slice was previously assumed to contain a pointer
to a slice, rather than an array. This is now fixed, making `@src()` work as well.
- Some preliminary work on 128bit integers have been done to find out what needs to be done
to implement 128bit arithmetic.
2022-01-10 21:01:00 +01:00
.builds ci: update tarballs for LLVM 13 2021-10-01 16:07:42 -07:00
.github github issues: add a honeypot template for questions 2021-11-30 14:42:58 -07:00
ci ci: add test coverage for self-hosted arm and x86_64 backends 2022-01-06 22:57:29 -05:00
cmake
deps
doc Add missing package to the langref that's always available 2022-01-07 14:18:47 -05:00
lib std: fix zig.Ast being called Tree internally 2022-01-08 01:01:09 -05:00
src wasm: Implement float_to_int 2022-01-10 21:01:00 +01:00
test wasm: Implement float_to_int 2022-01-10 21:01:00 +01:00
tools glibc: fix inconsistency of powerpc ABI mapping 2021-12-16 03:01:13 -07:00
.gitattributes
.gitignore
build.zig tz parsing reader interface, test thicc files, and exclude tzif 2021-12-31 17:17:49 +00:00
CMakeLists.txt stage2: rename Emit to Isel for x86_64 2021-12-31 11:18:23 +01:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md update CONTRIBUTING.md for zig build CLI changes 2021-12-03 16:17:40 -07:00
LICENSE Y++ 2021-12-31 19:58:21 -05:00
README.md readme: dynamic logo light/dark 2022-01-03 17:45:09 -07:00

ZIG

A general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

Resources

Installation

License

The ultimate goal of the Zig project is to serve users. As a first-order effect, this means users of the compiler, helping programmers to write better software. Even more important, however, are the end-users.

Zig is intended to be used to help end-users accomplish their goals. Zig should be used to empower end-users, never to exploit them financially, or to limit their freedom to interact with hardware or software in any way.

However, such problems are best solved with social norms, not with software licenses. Any attempt to complicate the software license of Zig would risk compromising the value Zig provides.

Therefore, Zig is available under the MIT (Expat) License, and comes with a humble request: use it to make software better serve the needs of end-users.

This project redistributes code from other projects, some of which have other licenses besides MIT. Such licenses are generally similar to the MIT license for practical purposes. See the subdirectories and files inside lib/ for more details.