eerolanguage / eero

Eero was a fully binary- and header-compatible dialect of Objective-C, implemented with a modified version of the Apple-sponsored LLVM/clang open-source compiler. It featured a streamlined syntax, Python-like indentation, and other features that improve readability and code safety. It was inspired by languages such as Smalltalk, Python, and Ruby.
https://web.archive.org/web/20171101134337/http://eerolanguage.org/
288 stars 7 forks source link

autoreleasepool by default #25

Closed pcperini closed 11 years ago

pcperini commented 12 years ago

I'm not exactly sure what I'm expecting here (i.e., int main() should implicitly include a call to autoreleasepool, or something else entirely), but having to manually "wrap" (read: "stick arbitrary header before") code just to handle autoreleasing feels... out of sync with the ethos of the project.

Totally a feature request, and a very unimportant one at that, but something about:

int main()
    autoreleasepool
        (myObject doStuff)

feels 1 level too deep.