Commit Graph

42 Commits

Author SHA1 Message Date
Masaaki Goshima fee54d4873
rename compiler API 2021-11-26 18:47:45 +09:00
Masaaki Goshima 217d943188
comment out 2021-11-26 18:34:28 +09:00
Masaaki Goshima f6d91525b2
work cover map and slice 2021-11-25 13:10:01 +09:00
Masaaki Goshima d631a21b59
add opcode generator 2021-11-22 13:20:03 +09:00
Masaaki Goshima d11fc7fe6c
add filter rule 2021-11-20 17:00:52 +09:00
Masaaki Goshima bcaf36681a
add compile2 api 2021-11-19 20:22:02 +09:00
Masaaki Goshima 2ee2c10f81
refactor compiler 2021-11-19 18:10:42 +09:00
Masaaki Goshima 86a671f3bb
Fix embedded field conflict behavior 2021-11-18 19:51:29 +09:00
Masaaki Goshima 559d70d706 Fix encoding of empty struct interface type 2021-09-01 11:41:33 +09:00
peterlimg ad245e5323
Fix incorrect indent 2021-07-22 17:22:07 +10:00
peterlimg a95c5abe6c
Fix indent issue for embed struct with tag 2021-07-22 14:54:11 +10:00
Masaaki Goshima 902856929d Fix indirect layout 2021-07-05 20:30:35 +09:00
Masaaki Goshima 994dc9ea9d Fix encoding of empty interface type 2021-06-25 20:17:12 +09:00
Masaaki Goshima 5c22860385
Merge pull request #248 from goccy/feature/context
Support context for MarshalJSON and UnmarshalJSON
2021-06-12 22:51:57 +09:00
Masaaki Goshima 56e5d7a457 Fix index number about length for recursive type 2021-06-12 22:02:03 +09:00
Masaaki Goshima cd7fb7392f Support context for MarshalJSON and UnmarshalJSON 2021-06-12 17:06:26 +09:00
Masaaki Goshima edd09e7470 Fix encoding of using empty interface as map key 2021-06-06 20:39:49 +09:00
Masaaki Goshima 4e2a9c06ef Manage option flags as bit variable 2021-06-01 13:40:15 +09:00
Masaaki Goshima 11437c8556 Refactor escape string 2021-06-01 01:25:05 +09:00
Masaaki Goshima 7cf15fc56c Fix opcode layout
- Adjust memory layout of the opcode to 128 bytes in a 64-bit environment
2021-05-29 14:47:18 +09:00
Masaaki Goshima f696453c1b Refactor vm sources for encoding ( use same source ) 2021-05-18 13:51:57 +09:00
Masaaki Goshima 6ae63e3e61 Refactor encoding of structHead and structKey 2021-05-17 18:58:59 +09:00
Shawn Wang 7e03a13225 Add type addrShift to enable bigger encoder/decoder cache
Change-Id: I630fa501f3b96702b69a40bc0b2f79f4db2a57eb
2021-05-10 13:39:37 +08:00
Masaaki Goshima 56dabe2da4 Refactor StringTag operation 2021-05-06 20:54:22 +09:00
Masaaki Goshima 69e40becbf Fix encoding of omitempty feature for the slice or interface type 2021-04-10 16:25:45 +09:00
Masaaki Goshima 2622779349
Merge pull request #172 from goccy/feature/fix-recursive-slice
Fix encoding of recursive slice/map
2021-04-02 14:21:27 +09:00
Masaaki Goshima 7007d6ee41 Fix encoding of recursive slice/map 2021-04-02 14:03:00 +09:00
Masaaki Goshima f3aded9b12 Fix detection of indirect field 2021-03-30 19:37:19 +09:00
Masaaki Goshima 5093e5bd78 Add type infromation to the debug information 2021-03-27 12:35:43 +09:00
Masaaki Goshima 2bda5ef91f Fix encoding of MarshalJSON of function type 2021-03-22 21:29:16 +09:00
Masaaki Goshima b364115cac Add slice test 2021-03-21 01:33:13 +09:00
Masaaki Goshima 906e29acda Optimize wrapped omitempty operation 2021-03-20 20:35:44 +09:00
Masaaki Goshima d0d58b9026 Add test case of encoder for json.Number type 2021-03-20 19:01:04 +09:00
Masaaki Goshima f4a7cdf543 Fix bugs of nil pointer of typeAddr value 2021-03-20 18:24:13 +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 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 a02cea2c89 Fix encoding of marshaler 2021-03-18 23:56:56 +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