magicaltux / goro Goto Github PK
View Code? Open in Web Editor NEWPHP in Go
License: BSD 3-Clause "New" or "Revised" License
PHP in Go
License: BSD 3-Clause "New" or "Revised" License
Would it be possible to update the project's readme to include information around how concurrency will be implemented? The readme mentions it however does not go in to any detail. Will concurrency be implemented at the language level as it is in golang creating a php superset or is the intention to make it an extension and override something like the pthread?
碉堡了,什么时候恢复、、??
[root@VM_0_14_centos ~]# go get github.com/MagicalTux/goro/sapi/php-cli
package golang.org/x/text/language: unrecognized import path "golang.org/x/text/language" (https fetch: Get https://golang.org/x/text/language?go-get=1: dial tcp 216.239.37.1:443: i/o timeout)
package golang.org/x/crypto/hkdf: unrecognized import path "golang.org/x/crypto/hkdf" (https fetch: Get https://golang.org/x/crypto/hkdf?go-get=1: dial tcp 216.239.37.1:443: i/o timeout)
package golang.org/x/crypto/md4: unrecognized import path "golang.org/x/crypto/md4" (https fetch: Get https://golang.org/x/crypto/md4?go-get=1: dial tcp 216.239.37.1:443: i/o timeout)
package golang.org/x/crypto/pbkdf2: unrecognized import path "golang.org/x/crypto/pbkdf2" (https fetch: Get https://golang.org/x/crypto/pbkdf2?go-get=1: dial tcp 216.239.37.1:443: i/o timeout)
package golang.org/x/crypto/ripemd160: unrecognized import path "golang.org/x/crypto/ripemd160" (https fetch: Get https://golang.org/x/crypto/ripemd160?go-get=1: dial tcp 216.239.37.1:443: i/o timeout)
package golang.org/x/crypto/sha3: unrecognized import path "golang.org/x/crypto/sha3" (https fetch: Get https://golang.org/x/crypto/sha3?go-get=1: dial tcp 216.239.37.1:443: i/o timeout)
[root@VM_0_14_centos ~]# go version
go version go1.9.4 linux/amd64
This looks very good, problem with PHP in general is that it is very difficult to contribute as it forces you to know C which most young people aren't aware of and have better alternatives like Go and Rust.
By the looks of it, PHP looks to be almost stagnating and I have a good feeling, this project can revive that interest.
I haven't worked on a programming language before but could do some work porting over some functions.
It is not work in my computer.
OS Version: macOS Mojave 10.14.1
Golang Version: go version go1.11.2 darwin/amd64
~ ❯ go get github.com/MagicalTux/goro/sapi/php-cli ⏎
# github.com/MagicalTux/goro/ext/hash
/data/gosrc/src/github.com/MagicalTux/goro/ext/hash/algos.go:33:16: undefined: sha3.NewLegacyKeccak256
# github.com/MagicalTux/goro/ext/standard
/data/gosrc/src/github.com/MagicalTux/goro/ext/standard/uname_darwin.go:14:43: undefined: Values
/data/gosrc/src/github.com/MagicalTux/goro/ext/standard/uname_darwin.go:14:55: undefined: WritableValue
/data/gosrc/src/github.com/MagicalTux/goro/ext/standard/uname_darwin.go:16:23: cannot use ctx (type context.Context) as type core.Context in argument to core.Expand:
context.Context does not implement core.Context (missing Call method)
/data/gosrc/src/github.com/MagicalTux/goro/ext/standard/uname_darwin.go:16:29: undefined: args
/data/gosrc/src/github.com/MagicalTux/goro/ext/standard/uname_darwin.go:18:3: too many arguments to return
have (nil, error)
want (error)
/data/gosrc/src/github.com/MagicalTux/goro/ext/standard/uname_darwin.go:23:3: too many arguments to return
have (*core.ZVal, nil)
want (error)
/data/gosrc/src/github.com/MagicalTux/goro/ext/standard/uname_darwin.go:27:4: too many arguments to return
have (nil, error)
want (error)
/data/gosrc/src/github.com/MagicalTux/goro/ext/standard/uname_darwin.go:29:3: too many arguments to return
have (*core.ZVal, nil)
want (error)
/data/gosrc/src/github.com/MagicalTux/goro/ext/standard/uname_darwin.go:31:3: too many arguments to return
have (*core.ZVal, nil)
want (error)
/data/gosrc/src/github.com/MagicalTux/goro/ext/standard/uname_darwin.go:33:3: too many arguments to return
have (*core.ZVal, nil)
want (error)
/data/gosrc/src/github.com/MagicalTux/goro/ext/standard/uname_darwin.go:33:3: too many errors
Support all PHP features used by wordpress and be able to run Wordpress.
Complete support for filesystems and streams
Call to undefined function opendir!
Is opendir function not complete?
Might this implementation of libpcre be a suitable replacement for the one mentioned in the readme?
https://github.com/Jemmic/libpcre
Need to be able to parse .ini files both for php.ini and to expose as an api (parse_ini_file() and parse_ini_string()).
This will likely need a new lexer handler (core/tokenizer should be able to handle that) and a new compiler
Did you see this btw:
https://github.com/syyongx/php2go.
Could be helpfull
Originally posted by @marcelloh in #2 (comment)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.