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

Side effects and C/asm #53

Open
chadbrewbaker opened this issue Mar 30, 2016 · 0 comments
Open

Side effects and C/asm #53

chadbrewbaker opened this issue Mar 30, 2016 · 0 comments

Comments

@chadbrewbaker
Copy link

Matter of practicality you are going to need an FFI with C code and assembler. I would do that sooner rather than later.

I like the # prefix syntax. How about a syntax to denote impure functions?

$func, @func, %func, --func, `func, ?func, .... personally I like the question mark. Easy rule in the function table that pure functions cannot call question mark functions. If you add the question mark to all your Operating System calls like printing they should propagate rather naturally. Of course you can cheat with function pointers etc but it would be a big help.

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

1 participant