Giter Site home page Giter Site logo

gorauskas / cobra-lang Goto Github PK

View Code? Open in Web Editor NEW
3.0 0.0 2.0 34.46 MB

Cobra Programming Language

Home Page: http://cobra-language.com/

License: Other

CSS 6.52% Batchfile 0.59% Standard ML 1.37% Java 36.77% Shell 4.75% C# 43.71% JavaScript 4.98% Python 1.30%

cobra-lang's Introduction

-------------------------------------------------------------------------------
                       The Cobra Programming Language
     Copyright (C) 2003-2013 by Cobra Language LLC.  All Rights Reserved.
-------------------------------------------------------------------------------

** You have a copy of the source code (or you wouldn't be seeing this message).
** If you are new to working with the Cobra implementation, then see
** ReadMe.text and ImplementationNotes.text in the Developer directory.

The term "Cobra" is used herein to refer to "The Cobra Programming Language".


Version........  0.9.6
Release Date...  2013-12-23
Platform.......  .NET 4.0+ / Mono 2.10+
Status.........  late beta
Home Page......  http://Cobra-Language.com/

The term "Cobra" is used herein to refer to "The Cobra Programming Language"


About Cobra
-------------------------------------------------------------------------------
Cobra is a high-performance, rapid-development programming language.
It combines features from Python, C#, Objective-C, Eiffel and other languages
in order to boost developer productivity.

Cobra is open source under the MIT license.

See also: http://Cobra-Language.com/docs/why/


Requirements
-------------------------------------------------------------------------------
Windows, Mac or Linux.

If you're on a Unix-like system (Mac, Linux, etc.), you have the wrong package.
This one is for Microsoft Windows systems.
See http://Cobra-Language.com/downloads/ for Unix-like packages.

If you're on Windows, you have the wrong package.
This one is for Unix-like systems.
See http://Cobra-Language.com/downloads/ for Windows packages.

Microsoft .NET 4.0+
	.NET developers usually have either the .NET SDK or Visual Studio
	installed. If you are using Windows Presentation Foundation (WPF) or
	developing on Cobra itself, you should do the same. Otherwise you can
	often get by with just the .NET client.
 -or-
Novell Mono 2.10+: http://www.mono-project.com/

    .NET:   http://www.microsoft.com/downloads/
            http://msdn2.microsoft.com/en-us/netframework/default.aspx
    Mono:   http://www.mono-project.com/


Installation
-------------------------------------------------------------------------------
From the Source subdirectory run the install-from-workspace script as
super user:

Windows:
' Open a command prompt as administrator
cd Cobra-<version>\Source
bin\install-from-workspace

Files, including How To's and Samples, will typically be found at:
C:\Cobra\Cobra-<version>


Unix-like systems:
# Open a command prompt
cd Cobra-<version>/Source
sudo bin/install-from-workspace

Files, including How To's and Samples, will typically be found at:
/usr/local/cobra/Cobra-<version>


You can run "cobra -about" from the command line to find out
where Cobra is located.


On Windows, put a "cobra.cmd" somewhere in your PATH such as a C:\bin directory.
The contents should at least be:
@"C:\Cobra\Cobra-<version>\bin\cobra.exe" %*

You could also try:
@"C:\Cobra\Cobra-<version>\bin\cobra.exe" -color %*

If you would like Cobra to automatically open your editor on the file and line
number of the first compilation error, try this (or something similar for your
editor):
@"C:\Cobra\Cobra-<version>\bin\cobra.exe" -color -editor:uedit32_FILE/LINE %*

Now you can:
  * Use Cobra from anywhere. 
  * Easily install new versions by putting them in C:\Cobra and
    repointing cobra.bat. 
  * Easily "roll back" by repointing cobra.cmd to a previous version.
  * Easily find your local copies of the Cobra Samples, How-To's and Reusables.


Running Cobra
-------------------------------------------------------------------------------
On Windows:

To run:
    > cobra MyProgram.cobra
The source code extension is not required:
    > cobra MyProgram
To run again:
    > MyProgram.exe
To just compile:
    > cobra -c MyProgram
If cobra is not in your path:
    > \path\to\cobra MyProgram
To learn about all the options:
    > cobra -help

On Unix-like systems:

To run:
    $ cobra MyProgram.cobra
The source code extension is not required:
    $ cobra MyProgram
To run again:
    $ mono MyProgram.exe
To just compile:
    $ cobra -c MyProgram
To learn about all the options:
    $ cobra -help


Learning
-------------------------------------------------------------------------------
See http://Cobra-Language.com/docs/

Those docs are not currently included in this package, so you have to
read them online.

And check out the HowTo and Samples subdirectories. You'll find these online,
and also in this package.


Support
-------------------------------------------------------------------------------
Support is readily available and community-driven.

See http://cobra-language.com/support


Disclaimer and License
-------------------------------------------------------------------------------
( This is the MIT license.
  http://opensource.org/licenses/mit-license.php )

Copyright (c) 2003-2013 by Cobra Language LLC.

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.

cobra-lang's People

Contributors

gorauskas avatar

Stargazers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.