Skip to content

Side effects and C/asm #53

@chadbrewbaker

Description

@chadbrewbaker

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions