Commit Graph

935 Commits

Author SHA1 Message Date
Masaaki Goshima 16f6c377b4
Merge pull request #156 from goccy/feature/fix-compiler-bug
Fix bugs of nil pointer of typeAddr value
2021-03-20 18:41:47 +09:00
Masaaki Goshima f4a7cdf543 Fix bugs of nil pointer of typeAddr value 2021-03-20 18:24:13 +09:00
Masaaki Goshima 094f8da49e
Merge pull request #155 from goccy/feature/add-bytes-test
Fix encoding of primitive pointer types and []byte type
2021-03-20 00:14:53 +09:00
Masaaki Goshima ef29061807 Fix error by linter 2021-03-19 23:55:01 +09:00
Masaaki Goshima b2bbd63168 Fix compiler for encoder 2021-03-19 23:47:29 +09:00
Masaaki Goshima ff871cb20d Add bytes test 2021-03-19 23:31:29 +09:00
Masaaki Goshima f218f0fc44
Merge pull request #154 from goccy/feature/fix-recursive-op
Fix recursive operation
2021-03-19 16:07:18 +09:00
Masaaki Goshima a100884788 Fix recursive operation 2021-03-19 15:47:16 +09:00
Masaaki Goshima e5d855ff42 Refactor Recursive optype 2021-03-19 15:46:53 +09:00
Masaaki Goshima 9564532feb
Merge pull request #153 from goccy/feature/fix-marshaler
Fix encoding of marshaler
2021-03-19 00:37:59 +09:00
Masaaki Goshima a02cea2c89 Fix encoding of marshaler 2021-03-18 23:56:56 +09:00
Masaaki Goshima 141e3992af
Merge pull request #152 from goccy/feature/reduce-memory-usage-at-compile
Reduce memory usage at compile time
2021-03-18 21:19:05 +09:00
Masaaki Goshima d2d7e6d367 Fix error by linter 2021-03-18 18:31:45 +09:00
Masaaki Goshima e0812246ef Fix test code for debug 2021-03-18 18:29:18 +09:00
Masaaki Goshima 75d7b8e673 Enable inline function call 2021-03-18 18:23:58 +09:00
Masaaki Goshima c523402b11 Fix workflow for coverage 2021-03-18 17:51:23 +09:00
Masaaki Goshima 15071b164b Fix `make cover` task 2021-03-18 17:33:09 +09:00
Masaaki Goshima 6a749c956b Fix error by linter 2021-03-18 16:30:08 +09:00
Masaaki Goshima 969dfcec31 Reduce memory usage at compile time 2021-03-18 16:17:14 +09:00
Masaaki Goshima 4db967f28d Remove unnecessary files 2021-03-18 15:53:22 +09:00
Masaaki Goshima 9cbe7b3991 Move encoder source to internal package 2021-03-18 15:46:55 +09:00
Masaaki Goshima cccf9f9f33 Replace vm and escaped vm codes with internal package 2021-03-17 12:32:23 +09:00
Masaaki Goshima 10c4118a45 Fix vm code 2021-03-17 00:22:19 +09:00
Masaaki Goshima 62b7d3ba0a Move compiler for encoder to internal package 2021-03-16 19:44:32 +09:00
Masaaki Goshima c45f1e8b2c Add internal/vm package 2021-03-16 02:50:19 +09:00
Masaaki Goshima 2385cfcdbf Move rtype to internal/runtime package 2021-03-15 13:53:24 +09:00
Masaaki Goshima 377d0b0dfc Move error types to internal/errors package 2021-03-15 13:53:24 +09:00
Masaaki Goshima 7c0a056064
Merge pull request #150 from goccy/feature/fix-nested-map
Fix encoding of nested map
2021-03-15 13:51:11 +09:00
Masaaki Goshima c75b9e57e2 Fix encoding of nested map 2021-03-15 13:29:08 +09:00
Masaaki Goshima 3ee1ab2711
Merge pull request #148 from goccy/refactor
Fix any bugs of encoder
2021-03-12 02:14:40 +09:00
Masaaki Goshima 096bbf3d20 Fix build error 2021-03-12 01:01:41 +09:00
Masaaki Goshima 4709eed615 Support Go 1.16 2021-03-12 00:57:35 +09:00
Masaaki Goshima bb3086c375 Remove root property from encodeCompileContext and opcode 2021-03-12 00:56:30 +09:00
Masaaki Goshima 4cdbd4e962 Remove unnecessary code 2021-03-12 00:43:48 +09:00
Masaaki Goshima 7290b0d6c3 Add build workflow 2021-03-11 23:43:21 +09:00
Masaaki Goshima 4167aefe08 Fix any bugs of encoder
- fix some issues ( #104 #118 #144 #147 )
- fix recursive call operation
- use json.Number of encoding/json
- fix encoding of MarshalJSON and MarshalText
- fix pointer operation
- remove 'anonymous' and 'only' operation
- add test cases for array/slice/map/marshaler
2021-03-11 19:29:35 +09:00
Masaaki Goshima 116df927e2 Add CHANGELOG.md 2021-02-22 16:59:09 +09:00
Masaaki Goshima cd03bc4033
Merge pull request #143 from goccy/feature/remove-unnecessary-op
Remove unnecessary optype
2021-02-22 15:27:18 +09:00
Masaaki Goshima 43b585a81c Remove unnecessary optype 2021-02-22 15:16:53 +09:00
Masaaki Goshima 80b483ce97
Merge pull request #141 from goccy/feature/integrate-int-op
Reduce memory usage at compile
2021-02-22 15:07:26 +09:00
Masaaki Goshima e60eabf9da Fix error by linter 2021-02-19 15:34:56 +09:00
Masaaki Goshima 9d4348e66b Modify test case 2021-02-19 15:13:33 +09:00
Masaaki Goshima f7b1319735 Integrate int/int8/int16/int32/int64 and uint/uint8/uint16/uint32/uint64 operation to reduce memory usage at compile 2021-02-19 15:12:30 +09:00
Masaaki Goshima 58a761643a
Merge pull request #140 from goccy/feature/fix-unmarshal-type-error
Fix decoder
2021-02-18 19:48:08 +09:00
Masaaki Goshima aa0422c239 Modify section of comment out 2021-02-18 19:31:35 +09:00
Masaaki Goshima 24cc1b77b2 Fix checkptr error 2021-02-18 19:20:07 +09:00
Masaaki Goshima 23c5766bd2 Add test case 2021-02-18 19:11:44 +09:00
Masaaki Goshima f8fd59516b Fix decoding of deep recursive structure 2021-02-18 19:05:06 +09:00
Masaaki Goshima 35eee537d4 Add test case 2021-02-18 17:59:29 +09:00
Masaaki Goshima 6eb23deb6f Fix decoding of embedded unexported pointer field 2021-02-18 17:46:28 +09:00