Commit Graph

  • ef7ab73bc9 string/slice concat and revised builtins master mleku 2025-11-22 17:38:08 +00:00
  • e34c490753 complete phase 2, mutable strings mleku 2025-11-22 12:44:15 +00:00
  • 54e62ac748 make int explicit int64 on all platforms mleku 2025-11-22 10:29:39 +00:00
  • b974bb23ea implement 1.1 explicit collection type pointers mleku 2025-11-22 09:58:03 +00:00
  • d93266d013 fix: call fmt.Errorf with wrong error alingse 2025-05-22 04:32:04 +08:00
  • 938db1c6c2 fix: use path instead of filepath secDre4mer 2025-05-21 21:22:05 +02:00
  • f61658199f fix: correctly resolve fields of aliased structs (#1679) secDre4mer 2025-01-08 14:50:32 +01:00
  • 1e3e91df86 feat: ensure that untyped values are converted to the same type (#1677) secDre4mer 2025-01-08 14:36:03 +01:00
  • 14d3137e98 chore: bump golangci-lint and fix config (#1680) Marc Vertes 2025-01-08 12:00:23 +01:00
  • e686f55767 interp: fix a missing implicit type conversion for binary expression Marc Vertes 2024-07-30 19:54:04 +02:00
  • 9c4dcfc45d automatic loop variables in for loops ("loop var"), consistent with go 1.22 behavior Randall O'Reilly 2024-07-20 08:26:03 -07:00
  • b6315cabee adds helpful print commands for tracing and debugging the interp system. Randall O'Reilly 2024-07-19 10:46:04 -07:00
  • 81a9d11b1f fix for issue #1634 -- for passing a closure to exported Go function Randall O'Reilly 2024-07-19 10:32:04 -07:00
  • c32b3ecfb6 interp: fix mismatch assign statement panic Kevin Chen 2024-07-19 19:46:03 +08:00
  • 94de0aa68c interp: fix handling of redeclared variables in short declaration. Marc Vertes 2024-07-18 12:34:04 +02:00
  • 77c1ce01c4 Remove unnecessary additional newlines in extract generated interface wrappers Kai O'Reilly 2024-07-17 07:58:04 -07:00
  • 381e045966 interp: allow assignment to exported variables Larry Clapp 2024-04-30 13:04:04 -04:00
  • c828692c0b fix: don't panic in map range if assigned value is _ Marc Vertes 2024-04-25 20:20:04 +02:00
  • 3fbebb3662 fix: avoid memory leak in closure v0.16.1 Marc Vertes 2024-04-03 18:22:04 +02:00
  • 2c92a7c7ab fix: do not panic when assigning to _ (blank) var. Marc Vertes 2024-04-02 19:18:03 +02:00
  • 9aa161f2da chore: update CI Ludovic Fernandez 2024-03-06 09:12:03 +01:00
  • 0a5b16cad6 feat: support go1.22 v0.16.0 Marc Vertes 2024-03-05 17:56:04 +01:00
  • 1990b96ccd update to go1.21 (#1598) Ludovic Fernandez 2024-03-04 12:00:25 +01:00
  • da27c4fbc2 interp: Add wasip1 to known OS list Denys Smirnov 2023-09-27 01:22:05 +03:00
  • f5b5481794 interp: Record function names in panic Denys Smirnov 2023-09-23 13:24:05 +03:00
  • 79b7420ee1 interp: fix issue where a var is reused instead of redefined Marc Vertes 2023-09-21 23:00:06 +02:00
  • 8a6061cc86 chore: update linter Ludovic Fernandez 2023-07-02 10:28:05 +02:00
  • c10e468d01 interp: fix fieldName method parsing embedded + generic fields bysir 2023-07-01 18:58:05 +08:00
  • 75e5f99bc5 doc: fix go install cmd Hiro 2023-06-20 06:08:06 +05:30
  • 79e32b5a92 doc: install using go install Hiro 2023-06-20 05:16:05 +05:30
  • 63b8cc42b9 doc: update readme Fernandez Ludovic 2023-06-19 14:06:53 +02:00
  • f4a9cd3cbe stdlib: remove embed wrapper Marc Vertes 2023-06-14 19:04:05 +02:00
  • 6447a677f3 fix(src): use errors.Is(err, fs.ErrNotExist) laushunyu 2023-06-14 23:00:12 +08:00
  • 68a430f969 interp: fix support of type assert expressions in the global scope Marc Vertes 2023-04-26 10:52:05 +02:00
  • dc7c64ba88 interp: improve support of unsafe Marc Vertes 2023-04-26 10:16:05 +02:00
  • d6ad13acea interp: improve handling of embedded fields with binary methods Marc Vertes 2023-04-13 18:16:05 +02:00
  • d124954a7d interp: fix computation of array size from constant expression Marc Vertes 2023-04-11 17:54:05 +02:00
  • 8de3add6fa extract: escape ~ in package names Senan Kelly 2023-03-27 18:08:05 +01:00
  • 20c8f5ef7c interp: correctly init variables assigned from function call v0.15.1 Marc Vertes 2023-03-24 11:46:05 +01:00
  • ce2bb794fa Equality is incorrect when nil is used as the left argument of == a 2023-03-23 03:20:06 -05:00
  • c4a297cbdc interp: fix use of function as field of a recursive struct. Marc Vertes 2023-03-21 11:50:05 +01:00
  • c473dceda8 test: use t.TempDir to create temporary test directory Eng Zer Jun 2023-03-17 04:40:05 +08:00
  • f202764973 cli: disable race detector if GOFLAGS contains -buildmode=pie Marc Vertes 2023-03-16 11:54:15 +01:00
  • 9d658604be interp: fix type assertion issues sasaba 2023-03-14 22:34:05 +08:00
  • 166fff7072 interp: add safeguards when searching for vendor root. Denys Smirnov 2023-03-13 10:20:06 +02:00
  • 8efc4f0735 interp: improve handling of methods defined on interfaces Marc Vertes 2023-03-06 16:46:06 +01:00
  • 6aa4f45c42 interp: wrap source functions when used as input parameters. v0.15.0 Marc Vertes 2023-02-08 12:04:05 +01:00
  • f3dbce93a4 interp: improve handling of generic types Marc Vertes 2023-02-08 11:48:05 +01:00
  • 0e3ea5732a update to go1.20 Marc Vertes 2023-02-03 14:32:05 +01:00
  • 1679870ea3 Suppress http.ErrAbortHandler panics, as in the stdlib mpl 2023-01-17 14:26:04 +01:00
  • 9b4ea62f69 Fix gorountine arguments not copied. ttoad 2023-01-17 01:38:04 +08:00
  • eee72d1aae Fix deadlock after parsing directory with no files Denys Smirnov 2022-12-13 12:46:05 +02:00
  • 97cf8c4210 Expose package name of a compiled source Denys Smirnov 2022-11-07 17:22:12 +02:00
  • 7bb8b4631f interp: fix processing of aliased types v0.14.3 Marc Vertes 2022-10-26 17:00:07 +02:00
  • 9f43170708 interp: error instead of panic when assigning to a constant Marc Vertes 2022-10-25 18:16:10 +02:00
  • 71112dbe87 interp: fix return of untyped values for defined types Marc Vertes 2022-10-25 17:20:06 +02:00
  • 4a8093609f interp: fix handling interface in operators Marc Vertes 2022-10-25 14:02:05 +02:00
  • 7865c90737 interp: fix case behavior for values converted to empty interface Marc Vertes 2022-10-25 09:38:05 +02:00
  • e4e3d11772 interp: fix the logic to skip source files based on OS or CPU arch Marc Vertes 2022-10-24 15:48:04 +02:00
  • a5242cbb9e interp: retry type definition if an array size is undefined Marc Vertes 2022-10-24 10:44:06 +02:00
  • c4d1bf5029 chore: update actions/cache to v3 Fernandez Ludovic 2022-10-21 16:21:21 +02:00
  • e003140c6e interp: improve internal handling of functions Marc Vertes 2022-10-19 17:54:08 +02:00
  • 6b8c94e6c4 interp: check that send operate on channel value Marc Vertes 2022-10-04 12:00:08 +02:00
  • 143e4a4559 interp: fix type assertion for wrapped empty interface Marc Vertes 2022-10-03 17:50:09 +02:00
  • dfeddbe823 interp: fix handling generic types with multiple type parameters Marc Vertes 2022-09-22 13:50:09 +02:00
  • 021824930d interp: improve type assertions Marc Vertes 2022-09-12 22:30:08 +02:00
  • b8301f10a8 interp: add missing conversion for non integer array dimension Marc Vertes 2022-09-12 19:40:08 +02:00
  • 2e8808317f interp: fix default comm clause in select Marc Vertes 2022-09-12 15:32:08 +02:00
  • 79747f3d6f interp: fix redeclarations containing a blank variable v0.14.2 Marc Vertes 2022-09-02 16:44:07 +02:00
  • 63825e7201 interp: fix use of interfaces in composite types Marc Vertes 2022-09-01 12:18:08 +02:00
  • 03ccda1a69 interp: fix type switch on arbitrary expressions Marc Vertes 2022-08-25 12:04:08 +02:00
  • e02621577f interp: improve handling of composed interfaces wrappers Marc Vertes 2022-08-25 10:44:11 +02:00
  • ab869c8d20 interp: improve method resolution for embedded interfaces Marc Vertes 2022-08-17 18:14:10 +02:00
  • b2aa636ea0 interp: fix spurious variable declaration loop Marc Vertes 2022-08-10 16:10:08 +02:00
  • ae725fb3d9 interp: fix generic check on nil function v0.14.1 Marc Vertes 2022-08-05 18:20:08 +02:00
  • 14bc3b56b8 interp: add support of Go generics in interpreter v0.14.0 Marc Vertes 2022-08-03 15:18:08 +02:00
  • 255b1cf1de interp: do not allow function declaration without body Marc Vertes 2022-08-03 10:06:06 +02:00
  • d3fc5e990e chore: upgrade to go1.19 Marc Vertes 2022-08-03 09:44:07 +02:00
  • dc082b5ded stdlib: support of go1.18 and go1.19, remove go1.16 and go1.17 Marc Vertes 2022-07-20 17:10:08 +02:00
  • d9c402e20d interp: fix unit testing for go1.18 Marc Vertes 2022-07-20 11:04:09 +02:00
  • 09a1617640 interp: improve support of alias types ttoad 2022-07-15 01:38:07 +08:00
  • cb642c44ba interp: improve type checking when comparing aliased types Luo Peng 2022-06-30 16:22:12 +08:00
  • f76db27c77 interp: fix resolution of methods on aliased types v0.13.0 Marc Vertes 2022-06-14 14:42:09 +00:00
  • 996b1e33c8 interp: catch mismatched types for other comparisons mpl 2022-06-14 10:52:08 +02:00
  • 236a0effaf interp: improve the behaviour of interface{} function parameters Marc Vertes 2022-06-14 08:18:08 +00:00
  • eaeb445e17 interp: create interpreter interface value with new Marc Vertes 2022-06-13 09:36:09 +00:00
  • 6933ba2b4e interp: improve type checking for defined types Marc Vertes 2022-06-13 09:24:09 +00:00
  • a61a7d5bcd interp: avoid panic when defining a label in incremental parsing mode Marc Vertes 2022-06-13 09:10:09 +00:00
  • 259f64cfd4 interp: fix redeclaration of an interface variable Marc Vertes 2022-06-13 08:56:09 +00:00
  • 6c74ab7bec interp: allow conversions of untyped complex Marc Vertes 2022-06-13 08:42:08 +00:00
  • d64563edee interp: improve handling values and comparisons in interfaces v0.12.0 Marc Vertes 2022-05-23 10:30:08 +02:00
  • 07039262a0 interp: implements detection of packages with no Go files Marc Vertes 2022-05-19 18:34:08 +02:00
  • 4ed9ccb5c4 interp: fix retrieving the string value of an interface Marc Vertes 2022-05-19 18:20:09 +02:00
  • 25edcfee7a interp: fix handling of empty interfaces in map index expressions Marc Vertes 2022-05-19 18:08:09 +02:00
  • d183f4205e interp: improve handling of empty interface values (#1393) Marc Vertes 2022-05-19 17:53:56 +02:00
  • 821e9ee006 interp: recover interpreter internal panics in EvalWithContext Marc Vertes 2022-05-19 17:30:09 +02:00
  • 00e3f924c1 interp: fix the behaviour of goto, continue and break (#1392) Marc Vertes 2022-05-19 11:23:30 +02:00
  • 2248851d77 interp: fix creation of binary composite types (#1391) Marc Vertes 2022-05-05 21:31:10 +02:00
  • f74d1ea6d8 interp: detect invalid uses of _ as value Marc Vertes 2022-05-04 18:51:09 +02:00
  • 606b4c3a37 interp: fix import of binary type symbols in current scope (#1380) Marc Vertes 2022-05-04 17:27:11 +02:00