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:18:21 +0530 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bdca522f7d3e604e883f21b X-Trace: ger.gmane.org 1381553326 31978 80.91.229.3 (12 Oct 2013 04:48:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Oct 2013 04:48:46 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 12 06:48:52 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 1VUr8F-0007QP-05 for ged-emacs-devel@m.gmane.org; Sat, 12 Oct 2013 06:48:51 +0200 Original-Received: from localhost ([::1]:56979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUr8E-0006PP-Hs for ged-emacs-devel@m.gmane.org; Sat, 12 Oct 2013 00:48:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUr8B-0006Oz-MO for emacs-devel@gnu.org; Sat, 12 Oct 2013 00:48:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUr87-0006fO-8h for emacs-devel@gnu.org; Sat, 12 Oct 2013 00:48:47 -0400 Original-Received: from mail-pb0-x229.google.com ([2607:f8b0:400e:c01::229]:55909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUr87-0006fK-05 for emacs-devel@gnu.org; Sat, 12 Oct 2013 00:48:43 -0400 Original-Received: by mail-pb0-f41.google.com with SMTP id rp2so5111725pbb.0 for ; Fri, 11 Oct 2013 21:48:41 -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=fm5LzyjaraG9FCED3rhL2aQCyaVXcXqFxRL7doo5riw=; b=ZzqoO5iAF3HD5HAv8d3+zT1NtaQ+xyMPChJGKiWvQ45JyDn6HRPl1VM9blBrpeM+aw hzSRX9RmlEkXtHbnLLNtvICl0mmG2DZcO3VJwBPaH/d9xFGNAmZoFFcHpOeAX2Dm03gE FHPuzNn0adELZtDovUbUqIZBdjqDFnqQsNvT5FpoCAjg8bshj1xheILnsed3hbungtF/ F+l6DV40+2cchhqTrF9juimg+3UMQrnCxYslMr5d5I8xdHuvgxDiiWvkGK34fmigW3uR BZMVPxzayQXqtmeNfN11PW4SDVfc7sB55hYfaGhxKg5ZNWQ80OarGi2pLT8rab1HWYXk by9g== X-Received: by 10.66.168.7 with SMTP id zs7mr446685pab.152.1381553321528; Fri, 11 Oct 2013 21:48:41 -0700 (PDT) Original-Received: by 10.68.133.198 with HTTP; Fri, 11 Oct 2013 21:48:21 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c01::229 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:164127 Archived-At: --047d7bdca522f7d3e604e883f21b Content-Type: text/plain; charset=ISO-8859-1 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 --047d7bdca522f7d3e604e883f21b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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 hav= ing a modern (unicode-based) Apl running on Gnu/Linux systems is quite a bi= g 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 w= ould put it in.

Is anyone working on this??

For th= e time being Ive put together something minimal by
a. taking scheme.el, cmuscheme.el
b. search-replace-ing scheme by aplc. Do the minimal hacking required to make it work
d. Throw out obvious= ly unneeded parts (like DSSSL stuff)

Also looking at perl and ada mo= des for characters, fontlock etc.

Any preferable sources to study/copy from?
I tried to stu= dy 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 ha= ving 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 diffe= rent faces ready?
And how faces are used in programming modes= ?

Input methods:
Current input method supplied by Juergen i= s xmodmap based.
We need other more emacsy method(s). I'll write abo= ut that subsequently, if I can get the above working :-)


Rusi
--047d7bdca522f7d3e604e883f21b--