From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rustom Mody Newsgroups: gmane.emacs.devel Subject: APL mode Date: Sat, 12 Oct 2013 10:31:57 +0530 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1381554141 5883 80.91.229.3 (12 Oct 2013 05:02:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Oct 2013 05:02:21 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 12 07:02:24 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VUrLM-0007N3-0N for ged-emacs-devel@m.gmane.org; Sat, 12 Oct 2013 07:02:24 +0200 Original-Received: from localhost ([::1]:56996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUrLL-00084M-Ip for ged-emacs-devel@m.gmane.org; Sat, 12 Oct 2013 01:02:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUrLI-00084H-4s for emacs-devel@gnu.org; Sat, 12 Oct 2013 01:02:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUrLH-0001cZ-3Y for emacs-devel@gnu.org; Sat, 12 Oct 2013 01:02:20 -0400 Original-Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]:62538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUrLG-0001cT-S5 for emacs-devel@gnu.org; Sat, 12 Oct 2013 01:02:19 -0400 Original-Received: by mail-pa0-f50.google.com with SMTP id fb1so5319124pad.9 for ; Fri, 11 Oct 2013 22:02:17 -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:content-type; bh=cG2IUh6tDQf6PIkQnf54HgDX6epBBsKjicerg3RJ4AY=; b=YRGToFmWyi7FtTR4KS8zRP5/zTHj5AWtPJ6ELLpDaCYrahJXrQQFgHVuEN+9kZYppu 6kwzD603yXavxZfoPW5EbeQ5TtfHXC7SiIUEx4lS1hha4d3OQrP+SedxdYHiHEbspTnh OiK/S8bChOONdofKiBNRXaJHnp8xQLGnf9UDfRxqFFi49foopieOh0SgKhTxlf3w5bSQ t4cFFSQgWHxlVh1WUpyef3ADILS40k0ZjnrSl5ON9wimKdrveacFDEptlOEOAbDW31rk 9hEDYRjQpwKwFrBMFXOH6xBO7Memewwp+DtVvnGTJJjaBK38SvRoXoWYAqnddipDl9h4 F4hQ== X-Received: by 10.68.163.132 with SMTP id yi4mr397046pbb.158.1381554137671; Fri, 11 Oct 2013 22:02:17 -0700 (PDT) Original-Received: by 10.68.133.198 with HTTP; Fri, 11 Oct 2013 22:01:57 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164128 Archived-At: Resending my last message in plain text. Sorry for the inconvenience! ---------------------------------------------------------- Hello all! As some of you may know Gnu Apl has been very recently released http://www.gnu.org/software/apl/ I feel in the modern unicoded world, APL may be more usable than it has ever been, so having a modern (unicode-based) Apl running on Gnu/Linux systems is quite a big thing. [Well at least for some old-fogeys :-) ] I asked the author Juergen Sauermann if there was an emacs mode. He asked 'Whats a mode? " :-) . He agreed that if I provided one he would put it in. Is anyone working on this?? For the time being Ive put together something minimal by a. taking scheme.el, cmuscheme.el b. search-replace-ing scheme by apl c. Do the minimal hacking required to make it work d. Throw out obviously unneeded parts (like DSSSL stuff) Also looking at perl and ada modes for characters, fontlock etc. Any preferable sources to study/copy from? I tried to study C-mode(s) but it was too vast to make sense :-( About syntax: What does sexp mean for non-lisp languages like C etc? (Needed for functions like forward-sexp) About Font lock: APL is notorious for being unreadable. This is related to having almost no keywords and only weird characters. Having a good coloration for different categories of characters will help a long way. Is there somewhere I can 8-10 different faces ready? And how faces are used in programming modes? Input methods: Current input method supplied by Juergen is xmodmap based. We need other more emacsy method(s). I'll write about that subsequently, if I can get the above working :-) Rusi -- http://blog.languager.org