unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Amirouche <amirouche@hypermove.net>
To: guile-user@gnu.org
Subject: Re: termbox bindings
Date: Mon, 24 Apr 2017 00:43:47 +0200	[thread overview]
Message-ID: <e7ad1bb6-26f8-2834-5102-83b4f4cc9584@hypermove.net> (raw)
In-Reply-To: <95df1b07-4c4a-9c98-9d15-35fb86436528@hypermove.net>



Le 23/04/2017 à 21:43, Amirouche a écrit :
> Azul!
>
> I crafted some ffi bindings for termbox [1] which is a small library
> that allows to interact with the terminal (somewhat like ncurses but much
> simpler).
>
> It comes with a toy text editor with rainbow highlighting and some emacs
> bindings. I tried to implement keyword highlighting but it was slow.

FWIW, I commited a better implementation, that could use some more love
that doesn't show any slow-ish behavior. It's only a "keyword" 
hilighter, more
work would be required to also highlight comments and strings.

I don't want you to believe that Guile is slow in such a simple editor.

Also, there is giant bug, where it's not possible to split a line!

Here is screenshot of the thing http://imgur.com/a/mrJ9J

See you next week end for new adventures!



  reply	other threads:[~2017-04-23 22:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-23 19:43 termbox bindings Amirouche
2017-04-23 22:43 ` Amirouche [this message]
2017-04-24 19:15   ` Amirouche

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/guile/

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

  git send-email \
    --in-reply-to=e7ad1bb6-26f8-2834-5102-83b4f4cc9584@hypermove.net \
    --to=amirouche@hypermove.net \
    --cc=guile-user@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.
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).