Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build basic Standard Library to allow basic tests to pass #48

Open
ircmaxell opened this issue Apr 22, 2019 · 2 comments
Open

Build basic Standard Library to allow basic tests to pass #48

ircmaxell opened this issue Apr 22, 2019 · 2 comments

Comments

@ircmaxell
Copy link
Owner

var_dump, etc

@PurHur
Copy link

PurHur commented May 6, 2019

Here is an uncompleted list what the compiler needs for compiling itself (expect the difficult php language itself)

array_shift
count
end
max
exec
explode
implode
file_get_contents
stream_get_contents
filemtime
real_path
str_replace
strtolower
substr
sprintf
printf
trim
unlink

Some are only used in the cli tools but i think this is whats needed (and the really basic things behind the functions). While im looking though a lot of code this is mostly whats used in a a lot of basic classes.

@ircmaxell
Copy link
Owner Author

A few other functions are likely needed. It depends one the language standard tests need as well. But this seems like an amazing start :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants