-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add builtin function @handle() #1297
Commits on Aug 2, 2018
-
src/all_types.hpp: add enums for Handle Builtin;
Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for e79c913 - Browse repository at this point
Copy the full SHA e79c913View commit details -
src/ir.cpp: wire-up IR for handle builtin;
Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for a9ea22d - Browse repository at this point
Copy the full SHA a9ea22dView commit details -
src/codegen.cpp: base handle builtin on
@frameAddress()
;Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for cd18186 - Browse repository at this point
Copy the full SHA cd18186View commit details -
Configuration menu - View commit details
-
Copy full SHA for da5f3d5 - Browse repository at this point
Copy the full SHA da5f3d5View commit details -
test/cases/couroutines.zig: test @handle();
Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for 9366a58 - Browse repository at this point
Copy the full SHA 9366a58View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2e5691 - Browse repository at this point
Copy the full SHA a2e5691View commit details -
src/codegen.cpp: add/throw error for @handle() in a non async context;
Tracking Issue ziglang#1296 ; I removed/commented-out the assert checking for no errors since we now have some errors rendered.
Configuration menu - View commit details
-
Copy full SHA for 81f4636 - Browse repository at this point
Copy the full SHA 81f4636View commit details -
src/codegen.cpp: remove
add_node_error
fromir_render_handle
;Tracking Issue ziglang#1296 ; Thanks @andrewrk ;
Configuration menu - View commit details
-
Copy full SHA for 0ee6502 - Browse repository at this point
Copy the full SHA 0ee6502View commit details -
src/codegen.cpp: reassert that there are no generated errors in codegen;
Tracking Issue ziglang#1296 ; Thanks @andrewrk ;
Configuration menu - View commit details
-
Copy full SHA for db362be - Browse repository at this point
Copy the full SHA db362beView commit details -
src/ir.cpp: add/throw error for @handle() in a non async context;
Tracking Issue ziglang#1296 ; Thanks @andrewrk ;
Configuration menu - View commit details
-
Copy full SHA for c1a3b0c - Browse repository at this point
Copy the full SHA c1a3b0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f0040d - Browse repository at this point
Copy the full SHA 1f0040dView commit details -
src/ir.cpp: return promise->T instead of promise;
Tracking Issue ziglang#1296 ; Thanks @andrewrk ;
Configuration menu - View commit details
-
Copy full SHA for fcf53b3 - Browse repository at this point
Copy the full SHA fcf53b3View commit details -
src/ir.cpp: don't allow
@handle()
outside of a function;Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for a8ea236 - Browse repository at this point
Copy the full SHA a8ea236View commit details -
src/codegen.cpp: return promise instead of null promise;
Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for 104bdb0 - Browse repository at this point
Copy the full SHA 104bdb0View commit details -
test/compile_errors.zig: @handle() called outside of function definit…
…ion; Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for c546f75 - Browse repository at this point
Copy the full SHA c546f75View commit details -
test/compile_errors.zig: @handle() in non-async function
Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for 13ec5db - Browse repository at this point
Copy the full SHA 13ec5dbView commit details -
src/codegen.cpp: @handle(): replace hacky ref chain with llvm intrinsic;
Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for 92cb330 - Browse repository at this point
Copy the full SHA 92cb330View commit details -
src/all_types.hpp: remove promise_symbol from suspend;
Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for ca1b356 - Browse repository at this point
Copy the full SHA ca1b356View commit details -
src/ast_render.cpp: remove promise_symbol from suspend;
Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for 5e5685c - Browse repository at this point
Copy the full SHA 5e5685cView commit details -
src/ir.cpp: remove promise_symbol from suspend;
Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for b3cd65d - Browse repository at this point
Copy the full SHA b3cd65dView commit details -
src/parser.cpp: remove promise_symbol from suspend;
Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for d3f6289 - Browse repository at this point
Copy the full SHA d3f6289View commit details -
std/event/channel.zig: remove promise_symbol from suspend and use @ha…
…ndle(); Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for 29057e5 - Browse repository at this point
Copy the full SHA 29057e5View commit details -
std/event/future.zig: remove promise_symbol from suspend and use @handle
(); Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for 244a7fd - Browse repository at this point
Copy the full SHA 244a7fdView commit details -
std/event/group.zig: remove promise_symbol from suspend and use @handle…
…(); Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for b4ff464 - Browse repository at this point
Copy the full SHA b4ff464View commit details -
std/event/lock.zig: remove promise_symbol from suspend and use @handle(…
…); Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for efec3a0 - Browse repository at this point
Copy the full SHA efec3a0View commit details -
std/event/loop.zig: remove promise_symbol from suspend and use @handle(…
…); Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for a3705b4 - Browse repository at this point
Copy the full SHA a3705b4View commit details -
std/event/tcp.zig: remove promise_symbol from suspend and use @handle();
Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for 9fe140a - Browse repository at this point
Copy the full SHA 9fe140aView commit details -
std/zig/parser_test.zig: update test to reflect that the promise symb…
…ol is no in scope with suspend; Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for bc032a8 - Browse repository at this point
Copy the full SHA bc032a8View commit details -
test/cases/coroutine_await_struct.zig: update test to reflect that th…
…e promise symbol is no in scope with suspend; Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for 79792a3 - Browse repository at this point
Copy the full SHA 79792a3View commit details -
test/cases/coroutines.zig: update test to reflect that the promise sy…
…mbol is no in scope with suspend; Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for 3241ada - Browse repository at this point
Copy the full SHA 3241adaView commit details -
test/cases/coroutines.zig: test for immediate resume inside of suspen…
…d with @handle(); Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for 9b3cebc - Browse repository at this point
Copy the full SHA 9b3cebcView commit details -
test/compile_errors.zig: update test to reflect that the promise symb…
…ol is no in scope with suspend; Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for 51955a5 - Browse repository at this point
Copy the full SHA 51955a5View commit details -
doc/langref.html.in: update docs to reflect that the promise symbol i…
…s no in scope with suspend; Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for ff4a03f - Browse repository at this point
Copy the full SHA ff4a03fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5de9242 - Browse repository at this point
Copy the full SHA 5de9242View commit details -
doc/langref.html.in: update suspend example with @handle();
Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for 915e321 - Browse repository at this point
Copy the full SHA 915e321View commit details -
test/cases/coroutines.zig: update suspend to use @handle();
Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for 9bed23f - Browse repository at this point
Copy the full SHA 9bed23fView commit details -
test/cases/cancel.zig: update suspend to use @handle();
Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for 9b890d7 - Browse repository at this point
Copy the full SHA 9b890d7View commit details -
doc/langref.html.in: add builtin @handle() to docs;
Tracking Issue ziglang#1296 ;
Configuration menu - View commit details
-
Copy full SHA for ac0a87d - Browse repository at this point
Copy the full SHA ac0a87dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96a94e7 - Browse repository at this point
Copy the full SHA 96a94e7View commit details