mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
c9b53d51ff
* check on windows * fix windows build * version test * clean up - will it work on windows * fix formatting
1.4 KiB
1.4 KiB
Language Changes
V0.1
- The GOAL language version has been set to 0.1
- Calling a function with unknown argument/return types is now an error instead of a warning
- Getting a method of an object or type with
method
returns the correct type for methods using the_type_
feature - The
object-new
macro will now type check arguments - The size argument to
(method object new)
is now anint
instead ofint32
- Using
set!
incorrectly, like(set! 1 2)
will now create an error instead of having no effect - GOOS now has a
fmt
form which wrapslibfmt
for doing string formatting. - GOOS now has an
error
form for throwing an error with a string to describe it - GOAL
if
now throws errors on extra arguments instead of silently ignoring them - The first 1 MB of GOAL memory now cannot be read/written/executed so dereferencing a GOAL null pointer will now segfault
- The runtime now accepts command line boot arguments
- The runtime now defaults to loading
KERNEL.CGO
and using itskernel-dispatcher
function. - The runtime now accepts a
-nokernel
parameter for running withoutKERNEL.CGO
. - The runtime will now refuse to load object files from another major GOAL version
- Using
&+
and&+!
now produces a pointer with the same type as the original. - There is a
&-
which returns auint
and works with basically any input types - The
&
operator works on fields and elements in arrays - The
&->
operator has been added