Commit Graph

207 Commits (master)
 

Author SHA1 Message Date
James Mills c734ae7f3c
go mod tidy 10 months ago
James Mills d5ae2761ee
Remove Github workflows 2 years ago
James Mills c58de88d90
Fix import paths 2 years ago
dependabot-preview[bot] 7b15a0f75f
Upgrade to GitHub-native Dependabot (#24) 2 years ago
dependabot-preview[bot] 997c7415c1
Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 (#23) 2 years ago
dependabot-preview[bot] 62aa7a43dd
Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 (#23) 2 years ago
vorlon001 3d82f8cde2
fix problem in min max function (#22)
* Update max.go

make([]int, len(a.Elements))
not correct wiork
create {0,0,0,0,0} and  append(xs, int(i.Value))

* Update min.go

make([]int, len(a.Elements))
not correct wiork
create {0,0,0,0,0} and  append(xs, int(i.Value))
a:={4,5,6,7}
min from {0,0,0,0,4,5,6,7}  result=0
on golang 1.14.4
3 years ago
dependabot-preview[bot] de8b25649b
Bump github.com/stretchr/testify from 1.6.0 to 1.6.1 (#20)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.6.0...v1.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
3 years ago
dependabot-preview[bot] 83ee088b7b
Bump github.com/stretchr/testify from 1.4.0 to 1.6.0 (#19)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.4.0 to 1.6.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
3 years ago
James Mills 2c7b4da8aa
Fixed workflows to not run twice unnecessarily 3 years ago
James Mills 70e3231c87
Fixed typos in workflows 3 years ago
James Mills acb816873e
Enable CI on pushes too 3 years ago
James Mills 4402733963
Fixes many typos and spelling mistakes (#14)
* Fixed many typos and spelling mistakes

* Trigger CI
3 years ago
James Mills b8a6cc6673
Removed Windows from CI (for now, it doesn't work) (#16) 3 years ago
James Mills ae29baba98
Added Dockerfile (#15) 3 years ago
James Mills 9f8036d555
Removed automerge workflow 3 years ago
James Mills aa80b05136
Migrated to Github Actions (#12) 3 years ago
dependabot-preview[bot] 860952dda4 Bump github.com/stretchr/testify from 1.3.0 to 1.4.0 (#11)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.3.0...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
James Mills cde02aa47e
Added DependaBot config 4 years ago
James Mills 1dfcd62f76
Fix Drone CI pipeline 4 years ago
James Mills cf6fd79fd5
Updated deps and shebangs of examples 4 years ago
James Mills c76348addf
Fixed typo in release script 4 years ago
James Mills aa5617169d
Fixed bug in evaluating logical infix operators. Fixes #8 4 years ago
James Mills 4279efc12c
Fixed tests 4 years ago
James Mills 577f572fd9
Added Socket builtins: socket(), bind(), listen(), accept() and connect() 4 years ago
James Mills 32f3801257
Remove debug logging 4 years ago
James Mills e3d35c54c0
Fixed tests 4 years ago
James Mills f20f04fb20
Added open() close() read() write() and seek() builtins 4 years ago
James Mills 8278047ff3
Rename read() and write() builtins to readfile() and writefile() 4 years ago
James Mills 62bb192a43
Added TOC to README 4 years ago
James Mills 2bbf07b0e2
Add to README about Modules 4 years ago
James Mills c09707eec4
Added module and import support (#6)
* Added module and import support (eval)

* Only export capitalised bindings

* Fixed bug with modules referencing constants and globals in the module by refactoring the VM's State management
4 years ago
James Mills 0b0837128f
Run quick short tests in CI 4 years ago
James Mills 546a616bce
Refactored type checkig and error handling in all builtins 4 years ago
James Mills 00cfd00d48
Refactored equality and comparision internally to use a single interface Comparable 4 years ago
James Mills 2aa90c5aec
Forgot to check an error 4 years ago
James Mills 85155dce19
Fixed compiler tests 4 years ago
James Mills 958cc08e98
Added sorted() and reversed() builtins 4 years ago
James Mills 06f8307bd3
Added min() and max() builtins 4 years ago
James Mills 02df1793f8
Fixed typo 4 years ago
James Mills ecb3fbecd9
Added bit shift operators << >> 4 years ago
James Mills 15f10bc469
Added more builtins 4 years ago
James Mills ad5a6930f5
Change typeof() -> type() 4 years ago
James Mills bcf374f63e
Ignore vim backup files 4 years ago
James Mills 9fc983fba3
Ignore -e (sed) fiels 4 years ago
James Mills b3a81a52fb
Removed some bogus files 4 years ago
James Mills d8d8440dc3
Fixed installation and dev instructions 4 years ago
James Mills 9de560c05f
Further refactored objects and builtins 4 years ago
James Mills 1fb283ffae
Refactored and split object types into separate source modules 4 years ago
James Mills b84b9815ef
Added ffi() builtin and support for loadable Go plugins (.so) as FFI 4 years ago