Skip to content

rudi/maude-x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

An implementation of (parts of) the X window protocol in Maude

The X protocol works over sockets. Maude supports sockets. What other reason do we need?

Usage

See x-test.maude for sample code.

To see a window, you need to tell your X window server to listen on port 6000 - recent installations of Linux do not do this by default, but Maude cannot open Unix domain sockets at the moment, so we have to go this route. (If your firewall blocks port 6000, as it should, this is safe to do.) After that, start Maude, load x-test.maude and evaluate erew start-app .. I have implemented a button and a simple label to illustrate how higher-level programming of a GUI in Maude would look like.

TODO

  • Implement the missing parts of the X protocol
  • Find a reason why you'd want to do this

About

A partial implementation of the X Window protocol in the Maude rewriting logic engine.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published