Commit graph

2070 commits

Author SHA1 Message Date
Folkert
e176385169 make sure structure variable is copied/references the copy 2020-10-26 16:19:08 +01:00
Folkert
5fbcfe18d3 new recvar design 2020-10-26 16:16:01 +01:00
Folkert
27670590ac from vec to slice 2020-10-26 16:11:12 +01:00
Jared Ramirez
34aaddfe80
Merge branch 'trunk' into use-zig-in-builtins 2020-10-25 20:22:58 -07:00
Jared Ramirez
6278a19c35 Use zig to build bitcode 2020-10-25 20:22:30 -07:00
Richard Feldman
5a2ba77406 Drop redundant #[test] annotation 2020-10-25 21:45:34 -04:00
Richard Feldman
793a1462e9 Run more assertions in test_mono 2020-10-25 21:45:34 -04:00
Folkert
9b37a1140c get things up and running again 2020-10-26 01:34:56 +01:00
Folkert
a2938440fa fix borrow checker things 2020-10-26 01:08:02 +01:00
Folkert
93a1baad1d use only references (no Vec) in canonical AST 2020-10-26 01:03:33 +01:00
Folkert
b91a76bb5c canonicalization 2020-10-26 00:43:50 +01:00
Pablo Hirafuji
6c70f3d50f Merge branch 'trunk' into fix/docs-tests 2020-10-25 20:22:47 -03:00
Pablo Hirafuji
43f390d80c Add some tests for documentation gen 2020-10-25 20:08:43 -03:00
Folkert
4ef096abf6 first steps for parsing 2020-10-25 23:37:29 +01:00
Folkert
fff0c37e40 add new canonicalize phase 2020-10-25 22:58:38 +01:00
Folkert
7d2cc3aac2 WIP 2020-10-25 22:16:27 +01:00
Jared Ramirez
48f8aad180 Compile bitcode as part of build script 2020-10-25 14:09:53 -07:00
Folkert
646f04ef7b give more context in runtime errors 2020-10-25 22:06:27 +01:00
Jared Ramirez
6253ac15e4 Use differnt atan test based on os 2020-10-25 12:11:23 -07:00
Folkert
b4a9ffdccd tests as they currently pass 2020-10-25 19:24:49 +01:00
Folkert
20480222ee use in-place mutation when changing variable descriptor contents 2020-10-25 19:21:26 +01:00
Richard Feldman
21d4f8026e
Merge branch 'trunk' into convert-bitcode-gen-to-c 2020-10-25 14:17:17 -04:00
Folkert
f13c28fe7f collect and instantiate hidden variables 2020-10-25 19:11:03 +01:00
Richard Feldman
80411473ae clippy clip 2020-10-25 01:56:55 -04:00
Richard Feldman
17b2eebcfc REVERT THIS! Temporarily disable exception tests.
These currently break on Linux, but pass on macOS.

They worked fine with JITExecutionEngine on Linux,
but JITExecutionEngine failed on macOS.
2020-10-25 01:42:10 -04:00
Richard Feldman
3d7a265c5f Load a dynamic library in the repl 2020-10-25 01:42:10 -04:00
Richard Feldman
5bf5807abd Only situationally do aggressive optimization 2020-10-25 01:42:10 -04:00
Richard Feldman
14c8a00f9d Don't link Scrti.o when doing dynamic linking 2020-10-25 01:42:10 -04:00
Richard Feldman
ac46d84c60 use RelocMode::PIC 2020-10-25 01:42:10 -04:00
Richard Feldman
6b183b1bcc Handle builtin defs in canonicalize_module_defs 2020-10-25 01:42:10 -04:00
Richard Feldman
468deebaa3 Clean up dummy test 2020-10-25 01:42:10 -04:00
Richard Feldman
737eee874f Fix tests 2020-10-25 01:42:10 -04:00
Richard Feldman
d0a9db06f5 Add Into instance for OptLevel 2020-10-25 01:42:10 -04:00
Richard Feldman
b4377d4d67 Get a basic dylib linking started 2020-10-25 01:41:55 -04:00
Jared Ramirez
49bc2b838f Remove unused files 2020-10-24 12:24:20 -07:00
Folkert
2c55fa5ec5 clippy 2020-10-24 21:23:55 +02:00
Jared Ramirez
d82d6b6fe9 Convert builtins to C 2020-10-24 12:22:51 -07:00
Richard Feldman
e8f1201937 Use libloading to load dylibs 2020-10-24 12:01:34 -04:00
Richard Feldman
60c33c81c3 Add LinkType to link.rs 2020-10-24 11:24:28 -04:00
Chadtech
5287a8db7d
Merge branch 'trunk' into str-split 2020-10-24 11:20:46 -04:00
Folkert
c2c0b30b8a improve instantiation 2020-10-24 01:39:56 +02:00
Folkert
c05ae4929f make sure aliases are added to the scope 2020-10-24 01:20:22 +02:00
Folkert
2c0416907c fix todo 2020-10-24 01:19:22 +02:00
Folkert
9d2a4a7d39 move SolvedType -> Type conversion to solved_types.rs 2020-10-24 01:17:51 +02:00
Richard Feldman
a10f768c36
Merge branch 'trunk' into merge-docs-into-load-file 2020-10-22 08:51:10 -04:00
Richard Feldman
cdb774a09b
Merge pull request #603 from Anton-4/trunk
replaced deprecated `std::u16::MAX` with `u16::MAX`
2020-10-22 08:50:47 -04:00
Folkert
7bff0b50c6 remove now unneeded code 2020-10-21 15:49:20 +02:00
Folkert
432dbee422 switch docs to use the standard file load mechanism 2020-10-21 15:43:56 +02:00
Anton-4
12821bf321 replaced deprecated std::u16::MAX with u16::MAX 2020-10-21 14:35:36 +02:00
Folkert
5223a9c59b Merge remote-tracking branch 'origin/trunk' into closure-improvements 2020-10-21 13:49:09 +02:00