Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6C454200B8B for ; Tue, 4 Oct 2016 16:33:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6AD52160AC9; Tue, 4 Oct 2016 14:33:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A6B20160AC5 for ; Tue, 4 Oct 2016 16:32:59 +0200 (CEST) Received: (qmail 49377 invoked by uid 500); 4 Oct 2016 14:32:58 -0000 Mailing-List: contact dev-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list dev@groovy.apache.org Received: (qmail 49367 invoked by uid 99); 4 Oct 2016 14:32:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2016 14:32:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 15B631A0363 for ; Tue, 4 Oct 2016 14:32:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.321 X-Spam-Level: X-Spam-Status: No, score=-0.321 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id t9l3XmG9H-Hc for ; Tue, 4 Oct 2016 14:32:56 +0000 (UTC) Received: from mail-qk0-f173.google.com (mail-qk0-f173.google.com [209.85.220.173]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id ED1615FB16 for ; Tue, 4 Oct 2016 14:32:55 +0000 (UTC) Received: by mail-qk0-f173.google.com with SMTP id o68so52077317qkf.3 for ; Tue, 04 Oct 2016 07:32:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=HfoYwyXEaJeKuLYNPmKX/lhbW0lz3dMijTfTfOrfsuM=; b=r7RYkAN2lIlAlCPKCh5iG0LXHtxxgbn8qCevezPoIj2Is2DGfyWM4KJVdcGjU7z8Fm k8uUjGEt6OxY1Z4aRMNokruAe5AlPccdLq3paN1xqdqm8B9Ob/hrzuGWaF9rcxeyxHoI 5bjuyXjI/KDLvbCCne14s22YaUAGEuMp3DOquHK/4AdEboEmSj5BHUY8iVcy/x4Mr/8Q 87shQY6osXgq2YHc7urUDeGVk+rO1NeHmwtgouA7A3DVPNvkVblki0wqi1XHMyaruwSw IhL1W4KuvAuBga7GLksUpJTEIgxvV30xSEZ70gzwxrWN4fZWzNQhPElUg8bmro2DvSZM wCLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=HfoYwyXEaJeKuLYNPmKX/lhbW0lz3dMijTfTfOrfsuM=; b=W969a7bQPE31U/WidPOlZBKLqI8wmo45eHcC6yOtDqmddQBz7j6r3fIzt0xgTScD9W HYZuJZ+GoReMGN1ggKnILfLHV2LA0sro8ZQVta5X0RgNXKcQtYjfEbd/exUjQjBCG5my m0hCc95Kq4hwORCis4yccomQtGhf5wTETGM+2YuyfKpk01IpsuXg/UP2Qj8AWbF/X9dd lglcu6jLNgn436JJsP+cimDIuvfhAvZegg9lJHg7OcHSuT3TH5vY4+wEOeXIQQ5oHW1p A3v0MYbl9tQH5J0pdr9puqbnXwN8ilWrhPBG+kdB4sTvIMMv1QQJKI0+fu4CAWawyCuk 1dXA== X-Gm-Message-State: AA6/9RkGQ/IbcKQnNhjsbSrtXbt2C+QXpknREByu4DUBEFEBVUtVL4V9gy+F6hlr/QPSotJIOk7D1KoXn00/qw== X-Received: by 10.55.19.106 with SMTP id d103mr3814124qkh.258.1475591575533; Tue, 04 Oct 2016 07:32:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.233.222.6 with HTTP; Tue, 4 Oct 2016 07:32:35 -0700 (PDT) From: Graeme Rocher Date: Tue, 4 Oct 2016 16:32:35 +0200 Message-ID: Subject: Proposal: Statically compileable builders To: dev@groovy.apache.org Content-Type: text/plain; charset=UTF-8 archived-at: Tue, 04 Oct 2016 14:33:00 -0000 Closely linked to https://issues.apache.org/jira/browse/GROOVY-7956 I would like to propose adding the ability to create builders that can be statically compiled by adding a capability similar to Scala's Dynamic: https://issues.apache.org/jira/browse/GROOVY-7957 Some considerations: * Behavior of closure delegates? * invokeMethod vs methodMissing Thoughts? Cheers -- Graeme Rocher