jak-project/goalc
Tyler Wilding 98393c6f4c
goalc: support static arrays of types (#2140)
draft because using the array is a little weird still, don't feel like
dealing with window's slow debugging builds today.

I get the following weird error:
```clj
(define test-array (new 'static 'boxed-array :type type vector))
gr> (-> test-array 0)
1538004        #x1777d4              0.0000        vector
gr> (type? (-> test-array 0) type)
1342757        #x147d25              0.0000        #t
gr> (new 'static (-> test-array 0))
-- Compilation Error! --
Got 3 arguments, but expected 2
Form:
(-> test-array 0)
Location:
Program string:1
(new 'static (-> test-array 0))
^
Code:
(new 'static (-> test-array 0))
```

Maybe this is expected though and the `new` method wants a symbol, not a
type?

Fixes #2060

Co-authored-by: water <awaterford111445@gmail.com>
2023-01-21 21:40:39 -05:00
..
build_level Add base_id for custom levels. (#2079) 2023-01-01 00:18:26 -05:00
compiler goalc: support static arrays of types (#2140) 2023-01-21 21:40:39 -05:00
data_compiler logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
debugger support c++ tools on macos (#2063) 2022-12-22 17:12:05 -05:00
emitter support c++ tools on macos (#2063) 2022-12-22 17:12:05 -05:00
listener d/jak2: cleanup more of editable and editable-player (#2029) 2022-11-19 23:28:20 -05:00
make d/jak2: decompile conveyor | elevator | plat | bouncer | basebutton | base-plat | most of sampler | simple-nav-sphere | simple-focus | elec-gate and blocking-plane (#1942) 2022-10-08 12:42:52 -04:00
regalloc [jak 2] merc (#2039) 2022-11-30 22:36:09 -05:00
CMakeLists.txt [jak2] workaround for cutscene playing (#2131) 2023-01-16 13:37:29 -05:00
main.cpp goalc/repl: cleanup of goalc/REPL code and some QoL improvements (#2104) 2023-01-07 11:24:02 -05:00
simple_main.cpp [jak2] workaround for cutscene playing (#2131) 2023-01-16 13:37:29 -05:00