开发者

Is it possible to write console applications in scheme?

Does anyone know of any semi-portable way to write console applications (e.g. basic animation) in scheme? I heard of an ncurses wrapper but I couldn't find anythi开发者_StackOverflow社区ng.


You can't do any GUI in a portable way in Scheme -- because you only get very basic file IO.


Depends on your scheme of choice. Chicken Scheme, for instance, has good ties with C and has various Curses libraries. See their code examples:

  • ncurses
  • mojo, curses for the lazy :)


Have you checked out Guile? I've never used it myself except just to play around, but it is pretty cool, and even has a little GUI support. Not sure about portability, except it should port just fine between different Unix systems, but the same can be said about ncurses.

Don't give up hope! If you're dedicated to developing in Scheme, you can.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜