Maybe take a look at what the Atom and Light table modes do? They both do
something like this.

On Oct 21, 2016 6:57 AM, "art yerkes" <[email protected]> wrote:

> Recently, I've been working on a cradle for the compiler that can serve as
> an example for your use case
>
> https://github.com/prozacchiwawa/elm-basic-compile
>
> On Thursday, October 20, 2016 at 9:47:28 PM UTC-7, Adam Fluke wrote:
>>
>> So I know that answer may be no, but I thought I'd ask incase I missed
>> something.
>>
>> The short question version of the question:
>>
>> Can I pass strings to the elm compiler to see if they will compile
>> without writing to a file?
>>
>> The long version of the question:
>>
>> I love idea of machine generated code, and have been exploring applying
>> evolutionary biology principles to code generation. In node, this required
>> throwing things at unit tests, but it was really slow for a number of
>> reasons. So the exploration has idled. Now I have been learning/toying with
>> elm and thought, "This would be perfect for evolutionary code search, I
>> only have to run tests on code that compiles, meaning 99% never going to
>> work mutations are cheaply discarded, and the 1% can be tested."
>>
>> The psuedo code in my head:
>>
>> hey elm compiler
>>
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to