Project

rpxem

0.0
No release in over 3 years
Low commit activity in last 3 years
RPxem is a Ruby implementation of Pxem, an esoteric programming language that enables you to create programs in 0-byte files.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 12.3
~> 3.8

Runtime

>= 0
 Project Readme

rpxem

Build Status

rpxem is a Ruby implementation of Pxem, an esoteric programming language that enables you to create programs in 0-byte files.

Installation

Add this line to your application's Gemfile:

gem 'rpxem'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rpxem

Usage

Using in Ruby

Require rpxem:

require 'rpxem'

Open and execute your Pxem file:

path_to_pxem_file = '~/Hello, world!.pxe'
RPxem.open(path_to_pxem_file) #=> Hello, world!

Execute your Pxem code:

file_name = 'world!.fHello,.pxe'
file_cont = ' Pxem '
RPxem.run(file_name, file_cont) #=> Hello, Pxem world!

Using from CLI

This program also runs as a command-line Pxem interpreter called rpxem:

$ touch "Hello, world!.pxe"
$ rpxem "Hello, world!.pxe"
Hello, world!

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

Copyright (c) 2012, 2018 wktk.
This software is distributed under the MIT License.
See MIT-LICENSE.txt for details.

See also