Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ronanduddy/omnium
Learning how programming languages work by writing one (or trying to). That is about the size of it.
https://github.com/ronanduddy/omnium
docker educational educational-project executable gem interpreted-programming-language interpreter interpreters language language-learning learning learning-exercise learning-ruby omnium ruby ruby-cli ruby-gem ruby-library rubygem rubygems
Last synced: about 2 months ago
JSON representation
Learning how programming languages work by writing one (or trying to). That is about the size of it.
- Host: GitHub
- URL: https://github.com/ronanduddy/omnium
- Owner: ronanduddy
- License: mit
- Created: 2020-04-12T16:59:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-30T20:30:49.000Z (over 3 years ago)
- Last Synced: 2024-04-25T05:02:39.296Z (8 months ago)
- Topics: docker, educational, educational-project, executable, gem, interpreted-programming-language, interpreter, interpreters, language, language-learning, learning, learning-exercise, learning-ruby, omnium, ruby, ruby-cli, ruby-gem, ruby-library, rubygem, rubygems
- Language: Ruby
- Homepage:
- Size: 147 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Omnium
> "Your talk," I said, "is surely the handiwork of wisdom because not one word of it do I understand."
Omnium is
1. an ongoing educational project for learning how to write a programming language
2. an interpreter written in Ruby
3. a gem
4. a bicycle
5. quite the pancake[![Build Status](https://travis-ci.org/ronanduddy/omnium.svg?branch=master)](https://travis-ci.org/ronanduddy/omnium)
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'omnium'
```And then execute:
```Shell
bundle install
```Or install it yourself as:
```Shell
gem install omnium
```## Usage
```Shell
bundle exec omnium hello.om
{:a=>2, :b=>25, :y=>5.997142857142857}
```## Development
After checking out the repo, run `make run filename=hello.om` to run the example program. Then, run `make test` to run all the tests or `make guard` to use guard for testing. You can also run `make irb` for an interactive prompt that will allow you to experiment.
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/ronanduddy/omnium. Please read [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) for details on our code of conduct.
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
## Acknowledgments
* Brian O'Nolan
* [Ruslan Spivak](https://ruslanspivak.com)
* [Jonathan Blow](https://www.youtube.com/user/jblow888/)