Calvin Rose
25b7c74089
More work on register allocation and spilling.
...
Setup frontend.janet to show the basics of what is going on. Currently
emitting "fake" instructions just to hash out the idea.
One apparent issue is how we handle register spilling during variable
argument IR instructions (function calls). Arguments should come
_before_ the function call not after.
2024-06-05 17:50:11 -05:00
Calvin Rose
7ea118f248
Begin work on simple x64 backend.
...
Introduce register allocation, spilling, etc. First implementation
will likely emit textual assembly and use a very bad register allocation
algorithm.
2024-06-03 08:35:08 -05:00
Calvin Rose
3cc3312b7b
Merge branch 'master' into compile-opt
2024-05-04 16:14:35 -05:00
Josef Pospíšil
9f9146ffae
Prepare for 1.34.0 release
2024-03-20 10:11:08 +01:00
Josef Pospíšil
5b9aa9237c
Prepare for 1.33.0 release
2024-01-07 16:26:20 +01:00
Calvin Rose
dfd05ddf7e
Merge branch 'master' into compile-opt
2023-11-02 10:58:51 -05:00
Calvin Rose
df2d5cb3d3
Add ipv6, shared, and cryptorand options to meosn.
...
Allows for builting with cosmopolitan, both with meson
and Makefile. Use:
CC=comsocc meson setup -Dipv6=false -Ddynamic_modules=false
-Dshared=false -Dos_name=cosmopolitan
to configure for cosmopolitan build.
2023-11-02 08:56:10 -05:00
Calvin Rose
f08874e65e
Merge branch 'master' into compile-opt
2023-10-22 09:03:52 -05:00
Calvin Rose
cc5beda0d2
Update patch release.
2023-10-15 14:33:43 -05:00
Calvin Rose
b5996f5f02
Update for 1.32.0
2023-10-14 19:48:20 -05:00
Calvin Rose
6a78b6d1c6
Merge remote-tracking branch 'origin/compile-opt' into compile-opt
2023-10-10 20:28:09 -05:00
Calvin Rose
16ea5323e0
More meson tweaks.
2023-09-28 20:32:14 -05:00
Calvin Rose
b63d41102e
Fix bad merge.
2023-09-27 22:34:46 -05:00
Calvin Rose
964295b59d
Merge branch 'net-reworkings'
2023-09-27 19:06:14 -05:00
Calvin Rose
d19db30f3d
Fix meson install test.
2023-09-27 00:19:35 -05:00
Calvin Rose
7599656784
Update meson build once more.
2023-09-24 15:35:40 -07:00
Calvin Rose
221645d2ce
More refinement of meson build.
2023-09-23 14:16:13 -07:00
Calvin Rose
2f4a6214a2
Make meson build work on windows.
...
By default, use more traditional linking pattern with meson.
The janet.exe will now link to janet-x.x.dll on windows (and
similar for linux/posix) when built with meson. This is slightly
less efficient and means that janet.exe built this way is no longer
standalone (you would need to move the dll along with the exe), but
plays better with most build systems.
2023-09-23 08:53:37 -07:00
Calvin Rose
4e5889ed59
Prepare for 1.31.0 release.
2023-09-17 14:53:03 -05:00
Calvin Rose
7c7136fd70
Merge branch 'master' into compile-opt
2023-08-06 17:09:13 -05:00
Calvin Rose
ecc4d80a5a
Prepare for 1.30.0 release.
2023-08-05 18:58:04 -05:00
Calvin Rose
4d7baef89e
Merge branch 'master' into compile-opt
2023-07-04 13:52:54 -05:00
Calvin Rose
3a4d56afca
Patch release.
2023-06-19 07:18:35 -05:00
Calvin Rose
5f56bf836c
Update meson.build file.
2023-06-03 13:55:49 -05:00
Calvin Rose
358f5a03bf
Version bump to 1.28.0
2023-05-13 09:59:55 -05:00
Calvin Rose
6b74400f2a
Create system IR that can compile to C.
...
Work ongoing, still needs better pointer support, as well
as composite types.
2023-04-03 09:30:23 -05:00
Calvin Rose
01aab66667
Prepare for 1.27.0 release.
2023-03-05 09:48:25 -06:00
Calvin Rose
d8d1de2dcb
Don't compile library loading code on windows if it is disabled.
2023-01-21 09:36:03 -06:00
Calvin Rose
b73855b193
Merge branch 'master' of github.com:janet-lang/janet
2023-01-07 15:05:16 -06:00
Calvin Rose
2093ab2baa
Update copyrights.
2023-01-07 15:04:56 -06:00
sogaiu
70e0c6f9ef
Add test files to meson suite 11 - 14
2023-01-04 12:59:26 +09:00
Calvin Rose
7a3d055012
Add ffi/jitfn for JIT compilation.
...
Convert a byte sequence of machine code to an
an executable pointer that can be used with ffi/call.
2022-12-03 11:26:23 -06:00
Calvin Rose
914a4360e7
Indicate version bump since header file changed.
2022-11-05 16:38:52 -05:00
Calvin Rose
e43eab5fd6
Fix panicf call.
2022-10-30 09:57:40 -05:00
Calvin Rose
e731996a68
Allow overriding JANETCONF_HEADER in Makefile.
...
This allows a configuration workflow that is a bit simpler than before
and doesn't requiring applying patches. Instead, add a config.mk to
source dir with JANETCONF_HEADER=myconfig.h and compile as usual.
The patching workflow will of course still work exactly as before.
2022-10-24 09:49:51 -05:00
Calvin Rose
03ba1f7021
Update CHANGELOG and version numbers.
2022-08-26 13:15:30 -05:00
Calvin Rose
0817e627ee
Prepare for 1.24.1 release.
2022-08-24 13:23:53 -05:00
bakpakin
34496ecaf0
Prepare for 1.24.0 release.
2022-08-14 20:20:09 -05:00
Calvin Rose
f456369941
Add support for a dyn :task-id
...
Adds extra information to default information from supervisor
channels. For threaded channels as supervisors, we don't get
the source fiber so identifying the source of messages was not
possible. This change allows better multithreading with supervisors.
2022-06-25 18:51:21 -05:00
Calvin Rose
0a15a5ee56
Prepare for 1.23.0 release.
2022-06-19 15:07:35 -05:00
Calvin Rose
282d1ba22f
Implement sys v abi on x64 partially.
2022-06-06 18:54:17 -05:00
Calvin Rose
e5a989c6f9
Remove multiple outputs with same name for old meson versions.
2022-05-27 21:14:47 -05:00
Calvin Rose
431451bac2
Make install work ok if meson is old.
2022-05-25 22:35:20 -05:00
Calvin Rose
395ca7feea
Fix meson.build for older versions of meson.
2022-05-14 10:27:28 -05:00
bakpakin
85129a1873
Prepare for 1.22.0 release.
2022-05-09 10:19:40 -05:00
Calvin Rose
6db796e10c
Add janet.h (in addition to janet/janet.h) on install.
...
A number of bindings (many of which I have written) include
<janet.h> rather than <janet/janet.h>.
2022-04-22 22:29:12 -05:00
Calvin Rose
2a950e4ce9
Fix patch release - (version info)
2022-04-01 21:59:01 -05:00
Techcable
54e3db4d8c
Correct version 1.21.1 in meson.build
...
This causes incorrect version meson compiles (including homebrew)
2022-03-29 23:13:09 -07:00
Calvin Rose
7491421c31
Release patch relase due to bad version bumping.
2022-03-27 11:21:24 -05:00
Calvin Rose
b60ef68ac6
Prepare for 1.21.0 Release.
2022-03-21 20:30:32 -05:00