multiple interpreted language object (milo) project
Outrageous Coder is a new open source code project.
The goal is to create an interpreter that will be able to correctly run any mixture of scripts written in PHP, Python, or Ruby.
The first step will be to make a simple translator rather than a full interpreter.
I will write an object for Python, Ruby, and PHP that will allow the mixture of the programming languages in a crude and slow way. This will demonstrate the feasability of the idea. Building the interpreter will bring the project up to speed.
The object will handle translation, provide support for foreign language environmental variables (and related items), and provide a method for importing the translated scripts.
I will borrow a strategy from Python. When the multi-language object is told to bring in a script from a foreign language, it will check to see the date of the last time the file was modified and will create a translated file if the translated file does nto yet exist or is older than the base script file.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
UNIX used as a generic term unless specifically used as a trademark (such as in the phrase UNIX certified). UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company Ltd.
Names and logos of various OSs are trademarks of their respective owners.