unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: Tom <adatgyujto@gmail.com>, emacs-devel@gnu.org
Subject: Re: Getting ideas from other editors: Postfix Code Completion
Date: Thu, 06 Mar 2014 22:37:04 +0100	[thread overview]
Message-ID: <m3a9d3101r.fsf@exodia.verona.se> (raw)
In-Reply-To: <87mwh38dmw.fsf@yandex.ru> (Dmitry Gutov's message of "Thu, 06 Mar 2014 19:01:43 +0200")

Dmitry Gutov <dgutov@yandex.ru> writes:

> joakim@verona.se writes:
>
>> Cedet has SRecode, which is useful for refactoring.
>
> Looks like a code generation tool. Can you give an example of it being
> used for refactoring (i.e. taking an existing piece of code and changing
> it according to some rules)?
>

You can feed it tags from the semantic parser. You can transform the
tags with lisp before you feed them to the generator. This is not like
the Eclipse refactoring tool I saw demoed once.

My own cases are a bit specialized. I do have a more useful example of the code
generation half of the process for generation of C code from lisp for
the Ergodox keyboard firmware.

-- 
Joakim Verona



  reply	other threads:[~2014-03-06 21:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-05 20:17 Getting ideas from other editors: Postfix Code Completion Tom
2014-03-06  3:24 ` Dmitry Gutov
2014-03-06  7:46   ` joakim
2014-03-06 17:01     ` Dmitry Gutov
2014-03-06 21:37       ` joakim [this message]
2014-03-07 20:17   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3a9d3101r.fsf@exodia.verona.se \
    --to=joakim@verona.se \
    --cc=adatgyujto@gmail.com \
    --cc=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).