masak / alma

ALgoloid with MAcros -- a language with Algol-family syntax where macros take center stage
Artistic License 2.0
139 stars 15 forks source link

Try fuzzing Alma code by injecting semantics-preserving code #550

Open masak opened 5 years ago

masak commented 5 years ago

I got the idea from this paper which does the same but with graphics shaders.

I have a fairly high confidence in Alma's runtime semantics nowadays. It's been a long time since we found an embarrassing bug in that department. Still, I suspect if we did this, we'd still drag up something, somewhere. :smile:

masak commented 5 years ago

Forgot to say: of course we want to inject the code as Qtrees, that is, after parsing the original source.

If the kind of code transformations we need to make there do not feel jQuery-level comfortable, we should define an API layer where they do.