-
-
Notifications
You must be signed in to change notification settings - Fork 84
/
cobra.scroll
78 lines (63 loc) · 2.16 KB
/
cobra.scroll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import ../code/conceptPage.scroll
id cobra
name Cobra
appeared 2006
creators Charles Esterbrook
tags pl
website http://cobra-language.com/
isOpenSource true
tryItOnline cobra
fileExtensions cobra
fileType text
rosettaCode http://www.rosettacode.org/wiki/Category:Cobra
centralPackageRepositoryCount 0
country United States
originCommunity Cobra Language LLC
projectEuler Cobra
memberCount
2019 11
2022 11
helloWorldCollection Cobra
"""Hello world in Cobra"""
class Hello
def main
print 'Hello, world.'
leachim6 Cobra
filepath c/Cobra.cobra
fileExtensions cobra
example
class Hello
def main
print 'Hello World'
printToken print
stringToken '
hasSemanticIndentation true
hasPrintDebugging true
hasStrings true
'Hello world'
wikipedia https://en.wikipedia.org/wiki/Cobra_(programming_language)
example
class Person
var _name as String
var _age as int
cue init(name as String, age as int)
_name, _age = name, age
def toString as String is override
return 'My name is [_name] and I am [_age] years old'
related python eiffel csharp objective-c
summary Cobra is a general-purpose, object-oriented programming language. Cobra is designed by Charles Esterbrook, and runs on the Microsoft .NET and Mono platforms. It is strongly influenced by Python, C#, Eiffel, Objective-C, and other programming languages. It supports both static and dynamic typing. It has support for unit tests and contracts. It has lambda expressions, closures, list comprehensions, and generators. Cobra is an open-source project; it was released under the MIT License on February 29, 2008. Updates are posted to the Cobra news forum with progress on features, fixes, documentation and related projects since the last update.
pageId 13862555
dailyPageViews 82
created 2007
backlinksCount 104
revisionCount 136
appeared 2006
fileExtensions cobra
tiobe Cobra
domainName cobra-language.com
registered 2008
awisRank
2017 5837168
isbndb 1
year|publisher|title|authors|isbn13
2010||Cobra (programming Language From Cobra Language Llc)|Surhone and Lambert M. and Timpledon and Miriam T. and Marseken and Susan F.|9786132215611