water111
3e798cd3aa
Add features for gkernel 2 ( #89 )
...
* in progress
* format
2020-10-17 11:18:58 -04:00
water111
d5d0d7f924
Add compiler features for gkernel ( #83 )
...
* add some type stuff for gkernel
* more tweaks
* blah
* more little tweaks and more of gkernel
* add static structures with integer fields but not basics
* static structures
* update gkernel
2020-10-16 17:08:26 -04:00
Tyler Wilding
b8a4a4e7fb
Correct compiler error
2020-10-15 21:58:15 -04:00
Tyler Wilding
28d732737f
More customized format depending on the field type
2020-10-15 21:25:35 -04:00
Tyler Wilding
c72ca18f00
Add auto-generated inspect
methods to deftypes
2020-10-15 00:39:27 -04:00
water111
3616b790bd
Add more array stuff and clean up field access ( #80 )
...
* implement some array stuff and clean up field access
* update goal change log
2020-10-14 13:42:14 -04:00
water111
b102d22dd9
Replace Form
with goos::Object
( #64 )
...
* add pretty printing to goos form
* temp
* fix format
* fix format
* fix windows build
* again
* windows
* Revert "windows"
This reverts commit b7d448e733
.
* windows again
* give up and just add a getter function
2020-10-04 17:08:10 -04:00
water111
c9b53d51ff
Compiler Cleanup (Part 2) ( #56 )
...
* check on windows
* fix windows build
* version test
* clean up - will it work on windows
* fix formatting
2020-09-25 21:11:27 -04:00
water111
2d11e44eaf
Compiler Cleanup and Documentation ( #54 )
...
* start cleanup
* fix typos
* fix syntax highlighting in doc
* lots of documentation updates
* clean and add tests
* more documentation and more error messages
* more document and try building kernel differently
2020-09-24 17:19:23 -04:00
water111
27b865c0df
Add methods and pointers ( #53 )
...
* method calls and sorting
* add more tests and fix some alias stuff
2020-09-19 16:50:42 -04:00
water111
cee6c21603
Add basic features for types and objects ( #52 )
...
* started adding simple functions in gcommon
* more tests and features
* more tests, debug windows
* debug prints for windows
* back up some regs for windows
* remove debugging prints
2020-09-19 13:22:14 -04:00
water111
c7c342ce7e
Add defmethod and some uses of the deref operator ( #51 )
...
* add tests for various xmms
* use unaligned stores and loads to back up and restore xmm128s and also fix argument spilling bug
* add deftype
* add deref and fix some method _type_ things
2020-09-18 22:02:27 -04:00
water111
abcd444a3b
Add deftype ( #48 )
...
* initial deftype implementation
* fix library setup for windows
* implement deftype
* fix memory bug
* fix formatting
2020-09-17 21:47:52 -04:00
water111
bb854dd81e
Fix a Listener Bug ( #45 )
...
* try a fix
* add debug prints
* more prints
* try again
* more stderr
* print again
* am idiot
* cleanup
* cleanup
2020-09-14 22:14:07 -04:00
water
8308bfb451
Merge branch 'master' of https://github.com/water111/jak-project into w/math_5
2020-09-14 20:31:46 -04:00
water111
7ffcfc4703
Merge pull request #41 from xTVaser/pragma-once
...
Add #pragma once to all header files
2020-09-14 20:31:41 -04:00
water
b1b58230ee
Merge branch 'master' of https://github.com/water111/jak-project into w/math_5
2020-09-14 20:31:19 -04:00
water
a47620fd6d
add more math
2020-09-14 20:24:05 -04:00
water
f972cdcab5
formatting
2020-09-14 17:02:25 -04:00
water
a74ed941ae
add description
2020-09-14 16:45:42 -04:00
Tyler Wilding
345b8e30d8
Resolve a good chunk of windows compiler warnings
...
Mostly revolved around the new MSVC check for functions that don't cover all paths (ie. a switch statement without a default case). It appears to not see an assert as a valid default case.
I switched assert(false) to exceptions in these cases. I believe this should also abort the program, but will also provide a hopefully useful message? Hopefully this is an improvement.
Resolves #32
2020-09-13 22:02:27 -04:00
Tyler Wilding
9737dfad34
Add #pragma once to all headers
...
Resolves #19
2020-09-13 21:36:35 -04:00
water
9ec9b5a22a
add conditional stuff
2020-09-13 17:34:02 -04:00
water
f46acdf87a
what is going on with clang format
2020-09-13 12:11:49 -04:00
water
e7f8620c92
add floats and inline stuff
2020-09-13 10:44:12 -04:00
water111
90a7e9b4b9
Add addition and subtraction for integers, build macros, dgo building, and build/load test ( #35 )
...
* see if math works on windows
* add dgo
* windows debug
* windows debug 2
* one more debug try
* add extra debug print and change logic for slashes
* update
* again
* try again
* remove build game
* remove build game
* add back build-game
* remove runtime from test
* test
* reduce number of files
* go to c++ 14
* big stacks
* increase stack size again
* clean up cmake files
2020-09-12 20:41:12 -04:00
water111
d56540f8c0
Add lambda and static objects ( #30 )
...
* add some more tests for let
* support static strings
* add function calling
* add prints for windows debgu
* one test only
* try swapping r14 and r15 in windows
* swap back
* disable defun for now
* fix massive bug
* fix formatting
2020-09-12 13:11:42 -04:00
water111
de5aa7e5e4
Move duplicated utilities to the common util folder and remove NEXT_DIR
( #29 )
...
* move things to the common library and remove next_dir
* fix for windows
* one last windows fix
* last fix for real this time
* debug listener test
* fix listener threading bug
2020-09-10 20:03:31 -04:00
water111
01883da47e
Fix Listener Socket Timeout on Windows ( #28 )
...
* try checking for timeouts differently on windows
* hopefully this test fails on windows
* hopefully this test passes on windows
* remove debug prints
* remove commented otu code
2020-09-09 20:14:13 -04:00
water
24e79f66bc
try increasing timeouts and decreasing test iterations to make test shorter
2020-09-08 21:26:09 -04:00
water
5612b9e1de
fix again
2020-09-08 19:57:58 -04:00
water
f55c2d305d
another fix
2020-09-08 19:49:58 -04:00
water
413bd66ce7
fix windows min/max macro issue
2020-09-08 19:46:40 -04:00
water
d35a8a3867
usleep -> this_thread::sleep_for
2020-09-08 19:43:03 -04:00
water
f0328dcc92
Merge branch 'master' of https://github.com/water111/jak-project into w/ir
2020-09-08 19:39:39 -04:00
Tyler Wilding
fff501d786
Corrections to fix linux, and further cleanup
2020-09-08 19:15:14 -04:00
Tyler Wilding
4b6223a6d0
Extract adding timeout to socket
2020-09-08 14:33:28 -04:00
Tyler Wilding
871f1b43b0
Remove the problematic Multiple Deci tests
2020-09-08 14:12:04 -04:00
Tyler Wilding
f8fccbf7a6
Additional progress, listener tests are starting to pass
2020-09-08 00:01:46 -04:00
Tyler Wilding
3d8002acaf
oh no, im actually starting to understand cmake
2020-09-07 20:44:31 -04:00
Tyler Wilding
84e0bee6f4
Use shim in Listener/Deci2Server
2020-09-07 19:59:44 -04:00
water
1394cf13cd
17 of 124 compiler tests passing
2020-09-07 19:17:48 -04:00
water
ee4eb9f128
add some basic symbol stuff
2020-09-07 13:28:16 -04:00
water
1de0cbb6f6
enable macros
2020-09-06 17:42:20 -04:00
water
d49b01e310
working return integer tests as part of gtest
2020-09-06 16:58:25 -04:00
water
8bf0bd86d3
integer constant program working up to ir
2020-09-06 12:45:31 -04:00
water
2b67b1078f
add lambda skeleton
2020-09-05 18:55:07 -04:00
water111
2075dd66b6
Add ObjectGenerator and Register Allocator ( #10 )
...
* start the ObjectFileGenerator
* finish v3 generation
* add analysis for register allocator
* add register allocator
* fix const
* fix build
* fix formatting for clang-format
* attempt to fix windows build
* windows 2
* windows 3
* windows 4
* windows 5
* windows 6
2020-09-05 16:37:37 -04:00
Tyler Wilding
6187b31f2c
Changes needed to get build passing
2020-09-04 23:24:16 -04:00
Tyler Wilding
d86775878e
Address review feedback
2020-09-04 19:40:45 -04:00
Tyler Wilding
dcde103c26
Address compiler and test failures
2020-09-03 23:56:35 -04:00
Tyler Wilding
ef09eb12c8
Add a bunch of #ifdefs to keep things working as expected on linux
2020-09-03 22:24:50 -04:00
Tyler Wilding
f68f220e5b
Merge remote-tracking branch 'water111/master' into windows-nodeci
2020-09-03 20:16:28 -04:00
Tyler Wilding
f231fc9be1
Merge branch 'windows-nodeci-before-merge' into windows-nodeci
2020-09-03 20:06:14 -04:00
water
f5a8d3d227
fix misleading comments
2020-09-02 17:51:42 -04:00
water
ba37e241ce
all basic integer and floating point instructions are implemented
2020-09-02 17:34:33 -04:00
water
4723153a4b
more progress on emitter integers
2020-09-02 16:24:13 -04:00
water
bea7167fbb
add rip addressing
2020-08-30 20:39:39 -04:00
water
92e1c0b496
more loads and stores
2020-08-30 10:56:42 -04:00
water
5100aa6a30
add some stores
2020-08-29 22:41:46 -04:00
water
a2e04508f6
add all loads
2020-08-29 21:04:21 -04:00
water
bf7a496bb0
implement some loads and stores
2020-08-29 19:13:29 -04:00
doctaweed
b9216e9a91
Gtest Fixes
...
All 16 tests in test_reader.cpp pass as expected now
2020-08-29 15:10:46 -06:00
doctaweed
ded5e3e4c0
Gtest fixes
2020-08-29 14:15:58 -06:00
Tyler Wilding
710e12cfed
some cmake adjustments
2020-08-29 15:11:36 -04:00
Tyler Wilding
a87060320a
Cleaned up some unneeded changes
2020-08-29 15:11:16 -04:00
Tyler Wilding
14c1b8be74
working my way through the tests
2020-08-29 14:52:45 -04:00
water
2ac07ae6bd
start docs
2020-08-28 20:16:30 -04:00
water
7b6807ad6a
type system builtin types
2020-08-27 20:53:11 -04:00
doctaweed
92976234a1
Replacing std::exception with std::runtime_error
2020-08-26 22:24:03 -06:00
water
a32e6288ac
Merge branch 'master' of https://github.com/water111/jak-project into w/type-system
2020-08-26 23:29:23 -04:00
doctaweed
86ee6637fe
Symbol fixes
...
Quick fixing a few more unresolved symbols. This should compile as is, but will not run as it requires mman.dll.
2020-08-26 21:12:32 -06:00
water
d2992ba4fe
type system method tests
2020-08-26 23:07:55 -04:00
Tyler Wilding
e0a24a4c21
Merge remote-tracking branch 'doctaweed/windows-nodeci' into windows-proj
2020-08-26 22:28:18 -04:00
doctaweed
8a81ff78dd
Windows fixes
...
Partially addresses issues with unresolved external symbols
2020-08-26 20:23:22 -06:00
Tyler Wilding
51c23aaede
A whole bunch of cmake fixes
2020-08-26 22:23:16 -04:00
doctaweed
1dc206edb9
More fixes
...
Comment out related deci2 code until networking can be reworked. Resolved std::exception errors with a temporary fix
2020-08-26 19:34:54 -06:00
Tyler Wilding
406549bf6a
some small changes
2020-08-26 21:08:18 -04:00
Tyler Wilding
e6e96400c8
commit doctor's latest changes
2020-08-26 21:02:24 -04:00
Tyler Wilding
3c4fcbdd34
clang-format all the things
2020-08-26 01:21:33 -04:00
water
acf086a3d2
check in existing work
2020-08-22 22:30:12 -04:00