Wiki

root/cobra/trunk/ReadMe.text

Revision 2644, 5.5 KB (checked in by Charles.Esterbrook, 11 days ago)

Bumped the Mono requirement from 2.4 to 2.6 based on a survey about VM versions.
See also:  http://cobra-language.com/forums/viewtopic.php?f=4&t=948

  • Property svn:eol-style set to native
Line 
1-------------------------------------------------------------------------------
2                       The Cobra Programming Language
3     Copyright (C) 2003-2010 by Cobra Language LLC.  All Rights Reserved.
4-------------------------------------------------------------------------------
5
6** You have a copy of the source code (or you wouldn't be seeing this message).
7** If you are new to working with the Cobra implementation, then see
8** ReadMe.text and ImplementationNotes.text in the Developer directory.
9
10The term "Cobra" is used herein to refer to "The Cobra Programming Language".
11
12
13Version........  @@
14Release Date...  @@
15Platform.......  .NET 2.0 / Mono 2.6
16Status.........  beta
17Home Page......  http://Cobra-Language.com/
18
19The term "Cobra" is used herein to refer to "The Cobra Programming Language"
20
21
22About Cobra
23-------------------------------------------------------------------------------
24Cobra is a high-performance, rapid-development programming language.
25It combines features from Python, C#, Objective-C, Eiffel and other languages
26in order to boost developer productivity.
27
28Cobra is open source under the MIT license.
29
30See also: http://Cobra-Language.com/docs/why/
31
32
33Requirements
34-------------------------------------------------------------------------------
35Windows, Mac or Linux.
36
37If you're on a Unix-like system (Mac, Linux, etc.), you have the wrong package.
38This one is for Microsoft Windows systems.
39See http://Cobra-Language.com/downloads/ for Unix-like packages.
40
41If you're on Windows, you have the wrong package.
42This one is for Unix-like systems.
43See http://Cobra-Language.com/downloads/ for Windows packages.
44
45Microsoft .NET 2.0 - Cobra can be used with or without the SDK installed.
46 -or-
47Novell Mono 2.6: http://www.mono-project.com/
48
49    .NET:   http://www.microsoft.com/downloads/
50            http://msdn2.microsoft.com/en-us/netframework/default.aspx
51    Mono:   http://www.mono-project.com/
52
53
54Installation
55-------------------------------------------------------------------------------
56You can put Cobra wherever you like in your file system.
57But here are some tips:
58
59On a Windows system, make a C:\Cobra directory and inside that put Cobra-0.8.0.
60This means you would have:
61
62    C:\Cobra\
63        Cobra-0.8.0\
64            bin\
65            Samples\
66            (etc)
67
68Now put a "cobra.bat" somewhere in your PATH such as a C:\bin directory.
69The contents should at least be:
70@"C:\Cobra\Cobra-0.8.0\bin\cobra.exe" %*
71
72You could also try:
73@"C:\Cobra\Cobra-0.8.0\bin\cobra.exe" -color %*
74
75If you would like Cobra to automatically open your editor on the file and line
76number of the first compilation error, try this (or something similar for your
77editor):
78@"C:\Cobra\Cobra-0.8.0\bin\cobra.exe" -color -editor:uedit32_FILE/LINE %*
79
80Now you can:
81  * Use Cobra from anywhere.
82  * Easily install new versions by putting them in C:\Cobra and
83    repointing cobra.bat.
84  * Easily "roll back" by repointing cobra.bat to a previous version.
85  * Easily find your local copies of the Cobra Samples, How-To's and Reusables.
86
87But on a UNIX/POSIX-type system such as Linux, BSD or Mac, you'll probably want
88to run the 'install' script. There is a comment block inside it with further
89instructions.
90
91
92Running Cobra
93-------------------------------------------------------------------------------
94On Windows:
95
96To run:
97    > cobra MyProgram.cobra
98The source code extension is not required:
99    > cobra MyProgram
100To run again:
101    > MyProgram.exe
102To just compile:
103    > cobra -c MyProgram
104If cobra is not in your path:
105    > \path\to\cobra MyProgram
106To learn about all the options:
107    > cobra -help
108
109On Unix-like systems:
110
111To run:
112    $ cobra MyProgram.cobra
113The source code extension is not required:
114    $ cobra MyProgram
115To run again:
116    $ mono MyProgram.exe
117To just compile:
118    $ cobra -c MyProgram
119To learn about all the options:
120    $ cobra -help
121
122
123Learning
124-------------------------------------------------------------------------------
125See http://Cobra-Language.com/docs/
126
127Those docs are not currently included in this package, so you have to
128read them online.
129
130And check out the HowTo and Samples subdirectories. You'll find these online,
131and also in this package.
132
133
134Support
135-------------------------------------------------------------------------------
136Support is readily available and community-driven.
137
138See http://cobra-language.com/trac/cobra/wiki/UserSupport
139
140
141Disclaimer and License
142-------------------------------------------------------------------------------
143Copyright (c) 2003-2010 by Cobra Language LLC.
144
145Permission is hereby granted, free of charge, to any person
146obtaining a copy of this software and associated documentation
147files (the "Software"), to deal in the Software without
148restriction, including without limitation the rights to use,
149copy, modify, merge, publish, distribute, sublicense, and/or sell
150copies of the Software, and to permit persons to whom the
151Software is furnished to do so, subject to the following
152conditions:
153
154The above copyright notice and this permission notice shall be
155included in all copies or substantial portions of the Software.
156
157THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
158EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
159OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
160NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
161HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
162WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
163FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
164OTHER DEALINGS IN THE SOFTWARE.
165
166(Note: That is the MIT-style license, approved by the OSI.)
Note: See TracBrowser for help on using the browser.