Marc Vertes
3528b4539d
feature: set default GOPATH for command line and allow self interpreting ( #240 )
2019-07-09 16:57:29 +02:00
Ludovic Fernandez
1948ecf10e
chore: regenerate syscall. ( #234 )
2019-07-03 18:10:07 +02:00
Marc Vertes
274c0fc47a
chore: API and code cleanup. Rename stdlib.Value into stdlib.Symbols ( #231 )
2019-06-27 12:40:04 +02:00
Marc Vertes
85c11a9ec6
feature: isolate stdlib "unsafe" package ( #228 )
2019-06-18 12:00:32 +02:00
Marc Vertes
eb705baa01
fix: implement a single interface wrapper for error type ( #190 )
2019-05-21 16:49:26 +02:00
Marc Vertes
4d8e990ff3
fix: several bug fixes so bcrypt and blowfish work in yaegi ( #182 )
...
* convert type of nil value
* range staement with key and no value
* assign operators misbehave
* reset to zero in value spec statements
2019-05-07 14:01:55 +02:00
Ludovic Fernandez
7e07a183ed
chore: support go1.11 and go 1.12. ( #130 )
...
* feat: support go1.11 and go 1.12.
* chore: generate.
* fix: build constraint.
* exclude importer.For
* generate go 1.11
2019-03-19 22:08:17 +01:00
Marc Vertes
5a10046944
feat: simplify Use() ( #115 )
...
Change API from
func Use(val libValueMap, typ libTypeMap)
to
func Use(val libValueMap)
2019-03-13 12:24:59 +01:00
Marc Vertes
6d21cefe75
fix: allow imported binary variables to be set ( #85 )
...
Change the way imported binary variables are imported, from
`reflect.ValueOf(val)` to `reflect.ValueOf(&val).Elem()`, to allow these
variables to be set from the interpreter.
Regenerate stdlib packages accordingly.
Ensure that binary value is forwarded if it exists.
Add tests.
2019-02-07 15:41:22 +01:00
Marc Vertes
547b1afb8d
feat(goexports): support multi os / arch, generate syscalls for all platforms ( #6 )
2019-01-11 17:41:26 +01:00
Fernandez Ludovic
45893a87a8
refactor: goexports use go template.
2019-01-07 23:46:36 +01:00
Fernandez Ludovic
3bf45a4b32
refactor: generate syscall for linux.
2019-01-07 11:36:05 +01:00
Marc Vertes
86b2ffedcd
stdlib: add syscall package
2018-12-26 15:46:42 -05:00
Marc Vertes
42e891da02
Fix DO NOT EDIT comment on generated files
2018-12-19 11:41:48 +01:00
Marc Vertes
6a397e2294
Fix golint warnings
2018-12-07 17:37:58 +01:00
Marc Vertes
c280611fb4
Fix call expressions involving functions from stdlib, update to go-1.11
2018-08-29 14:35:44 +02:00
Marc Vertes
25adc35a3c
Change representation of stdlib from interface{} to reflect.Value
...
This fixes problems due to storing binary symbols as interfaces{}
instead of concrete type, which confuses lookup functions to retrieve
methods etc. in reflect.
2018-08-28 03:12:28 +02:00