Skip to content

Commit 1d2f384

Browse files
committed
Merge remote-tracking branch 'golo-lang/master'
2 parents e84d03c + 61d2467 commit 1d2f384

File tree

364 files changed

+16861
-2502
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

364 files changed

+16861
-2502
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ dependency-reduced-pom.xml
88
.benchmarks.h2.db
99
benchmarks/*.json
1010
benchmarks/*.html
11+
doc/output/

.mailmap

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Daniel Petisme <[email protected]> Daniel PETISME <[email protected]>
2+
Daniel Petisme <[email protected]> Daniel PETISME <[email protected]>
3+
Daniel Petisme <[email protected]> danielpetisme <[email protected]>
4+
Philippe Charrière <[email protected]> Philippe CHARRIERE <[email protected]>
5+
Philippe Charrière <[email protected]> k33g <[email protected]>
6+
Jeff Maury <[email protected]> Jeff MAURY <[email protected]>
7+

.travis.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
language: java
22

33
jdk:
4-
- oraclejdk7
54
- openjdk7
5+
- oraclejdk7
6+
- oraclejdk8
7+
8+
matrix:
9+
fast_finish: true
610

711
install: "rake special:bootstrap"
812

913
script: "mvn clean install"
10-
11-
notifications:
12-
irc: "irc.freenode.org#golo-lang"

CONTRIBUTORS

+9
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,12 @@ David Festal (SERLI) <[email protected]>
88
Dan Allen (Red Hat) <[email protected]>
99
Daniel Petisme <[email protected]>
1010
Philippe Charrière <[email protected]>
11+
Franck Verrot <[email protected]>
12+
Thierry Chantier <[email protected]>
13+
Guillaume Grossetie <[email protected]>
14+
Jeff Maury <[email protected]>
15+
Kel Cecil <[email protected]>
16+
Yannick Loiseau <[email protected]>
17+
Sylvain Desgrais <[email protected]>
18+
Alexis Thomas <[email protected]>
19+
Romain Lespinasse <[email protected]>

Dockerfile

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM ubuntu:14.04
2+
MAINTAINER Julien Ponge <[email protected]>
3+
4+
RUN apt-get update
5+
RUN apt-get -y upgrade
6+
RUN apt-get -y install software-properties-common
7+
RUN add-apt-repository ppa:webupd8team/java -y
8+
RUN apt-get update
9+
10+
RUN (echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections)
11+
RUN apt-get install -y oracle-java8-installer oracle-java8-set-default
12+
13+
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle
14+
ENV PATH $JAVA_HOME/bin:$PATH
15+
RUN apt-get install -y maven rake
16+
RUN apt-get autoclean
17+
18+
ADD . /src
19+
RUN cd /src && rake special:bootstrap
20+
RUN mkdir -p /opt/golo && cp -R /src/target/golo-*-distribution/golo-*/* /opt/golo && ln -s /opt/golo/bin/golo /usr/bin/golo
21+
RUN rm -rf /src ~/.m2

LICENSE-header

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2012-2013 Institut National des Sciences Appliquées de Lyon (INSA-Lyon)
1+
Copyright 2012-2014 Institut National des Sciences Appliquées de Lyon (INSA-Lyon)
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.
@@ -10,4 +10,4 @@ Unless required by applicable law or agreed to in writing, software
1010
distributed under the License is distributed on an "AS IS" BASIS,
1111
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
See the License for the specific language governing permissions and
13-
limitations under the License.
13+
limitations under the License.

NOTICE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The Golo Programming Language
2-
Copyright 2012-2013 Institut National des Sciences Appliquées de Lyon (INSA-Lyon)
2+
Copyright 2012-2014 Institut National des Sciences Appliquées de Lyon (INSA-Lyon)
33

44
This product includes software developed at
55
INSA-Lyon (http://www.insa-lyon.fr/).

README.md

+38-12
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
[![DOI](https://zenodo.org/badge/3726/golo-lang/golo-lang.png)](http://dx.doi.org/10.5281/zenodo.11819)
2+
13
# Golo, a lightweight dynamic language for the JVM.
24

35
> The world didn't need another JVM language.
46
> So we built yet another one. A simple one.
57
68
Golo is a simple dynamic, weakly-typed language for the JVM.
79

8-
Built from day 1 with `invokedynamic`, Golo takes advantage of the latest advances of
10+
Built from day 1 with `invokedynamic`, Golo takes advantage of the latest advances of
911
the JVM. It is also a showcase on how to build a language runtime with `invokedynamic`.
1012

1113
Golo is being developed as part of the research activities of the
@@ -16,10 +18,19 @@ Golo is being developed as part of the research activities of the
1618
* Website: [http://golo-lang.org/](http://golo-lang.org/)
1719
* Twitter: [@golo_lang](https://twitter.com/golo_lang)
1820
* GitHub: [https://github.com/golo-lang/golo-lang](https://github.com/golo-lang/golo-lang)
19-
* Sourceforge: [http://sourceforge.net/projects/golo-lang/](http://sourceforge.net/projects/golo-lang/)
21+
* Mailing-list: [http://groups.google.com/group/golo-lang](http://groups.google.com/group/golo-lang)
2022
* StackOverflow: [questions with the `golo-lang` tag](http://stackoverflow.com/questions/tagged/golo-lang)
21-
* Forums: [at Sourceforge, (email subscriptions are possible)](https://sourceforge.net/p/golo-lang/discussion/)
22-
* IRC: [`#golo-lang` on Freenode](https://webchat.freenode.net/)
23+
24+
Starting from version 1.0.0, Golo adopts the [semantic versioning scheme](http://semver.org).
25+
26+
## Getting Golo
27+
28+
Go to the [Golo downloads page](http://golo-lang.org/download/) for general download instructions.
29+
30+
You can fetch Golo from Maven central under the `org.golo-lang` group.
31+
32+
We also provide [Docker](http://docker.com/) images based on Ubuntu 14.04 and Java SE 8:
33+
`docker pull jponge/golo-lang` ([https://registry.hub.docker.com/u/jponge/golo-lang/](https://registry.hub.docker.com/u/jponge/golo-lang/))
2334

2435
## Building Golo
2536

@@ -54,18 +65,34 @@ Of course you can just call Maven directly if you like.
5465

5566
The documentation is located in `doc/` and is built using [AsciiDoc](http://asciidoc.org).
5667

57-
The current configuration depends on MacOSX + Homebrew specific paths. We know this is very bad,
58-
and we promise to solve this *at some point*. Or maybe we'll just switch to
59-
[AsciiDoctor](http://asciidoctor.org) *at some point*.
60-
6168
The documentation can be built using the provided `Rakefile`. For instance one may build a HTML
6269
output using:
6370

6471
rake html
6572

73+
#### Building documentation on Ubuntu Linux
74+
75+
You'll need to perform the following steps before building the golo-lang docs on Ubuntu:
76+
77+
1. Perform *sudo apt-get install asciidoc python-pygments fop* to get the required dependencies.
78+
2. Uncomment a line in /etc/asciidoc/asciidoc.conf to allow use of pygments highligher:
79+
80+
```
81+
#Uncomment to use the Pygments source highlighter instead of GNU highlighter.
82+
#pygments=
83+
```
84+
85+
#### Building documentation on Fedora Linux
86+
87+
You'll need to install the following packages before building the golo-lang docs on Fedora:
88+
89+
* asciidoc
90+
* python-pygments
91+
* fop
92+
6693
## License
6794

68-
Copyright 2012-2013 Institut National des Sciences Appliquées de Lyon (INSA-Lyon)
95+
Copyright 2012-2014 Institut National des Sciences Appliquées de Lyon (INSA-Lyon)
6996

7097
Licensed under the Apache License, Version 2.0 (the "License");
7198
you may not use this file except in compliance with the License.
@@ -93,11 +120,10 @@ Big thanks to our early testers before Golo was made public! *(in random order)*
93120

94121
Pierre Colomb, Olivier Coupelon, Cédric Exbrayat, Frédéric Le Mouel, Nicolas Stouls,
95122
Henri Gomez, Julien Viet, Philippe Charrière, Ludovic Champenois, Thierry Chantier,
96-
Daniel Petisme, David Gageot, David Festal, Gildas Cuisinier, Thomas Maurel,
123+
Daniel Petisme, David Gageot, David Festal, Gildas Cuisinier, Thomas Maurel,
97124
Yannick Loiseau, Alexis Plantin, Sylvain Desgrais, William Guyot, Agnès Crépet, Cyril Lacote.
98125

99126
### Companies
100127

101-
[Serli](http://www.serli.com/),
128+
[Serli](http://www.serli.com/),
102129
[Ninja Squad](http://ninja-squad.com/).
103-

Rakefile

+22-9
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Copyright 2012-2013 Institut National des Sciences Appliquées de Lyon (INSA-Lyon)
2-
#
1+
# Copyright 2012-2014 Institut National des Sciences Appliquées de Lyon (INSA-Lyon)
2+
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
55
# You may obtain a copy of the License at
6-
#
6+
#
77
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
8+
#
99
# Unless required by applicable law or agreed to in writing, software
1010
# distributed under the License is distributed on an "AS IS" BASIS,
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -40,10 +40,11 @@ task :doc do
4040
Dir.chdir("doc") do
4141
sh "rake clean all"
4242
end
43+
sh "mvn org.golo-lang:golo-maven-plugin:golodoc -DoutputDirectory=doc/output/golodoc"
4344
end
4445

4546
desc "Deploy snapshots"
46-
task :deploy => [:clean, :build] do
47+
task :deploy => [:clean, :build, :doc] do
4748
MAGIC = "mvn deploy"
4849
sh MAGIC
4950
Dir.chdir("golo-maven-plugin") do
@@ -52,7 +53,7 @@ task :deploy => [:clean, :build] do
5253
end
5354

5455
desc "Release"
55-
task :release => [:clean, :all] do
56+
task :release => [:clean, 'special:bootstrap', :all] do
5657
MAGIC = "mvn deploy -P sonatype-oss-release"
5758
sh MAGIC
5859
Dir.chdir("golo-maven-plugin") do
@@ -100,7 +101,7 @@ namespace :test do
100101
end
101102

102103
namespace :special do
103-
104+
104105
desc "Bootstrap Golo and the Maven plug-in for a clean-room environment"
105106
task :bootstrap do
106107
sh "mvn clean install -P !bootstrapped"
@@ -117,7 +118,7 @@ namespace :special do
117118
Dir.chdir("golo-maven-plugin") do
118119
sh CMD
119120
end
120-
Dir.chdir("benchmarks") do
121+
Dir.chdir("jmh-benchmarks") do
121122
sh CMD
122123
end
123124
end
@@ -129,7 +130,19 @@ namespace :special do
129130
Dir.chdir("golo-maven-plugin") do
130131
sh CMD
131132
end
132-
Dir.chdir("benchmarks") do
133+
Dir.chdir("jmh-benchmarks") do
134+
sh CMD
135+
end
136+
end
137+
138+
desc "Check for property updates (dependencies + plugins)"
139+
task :check_property_updates do
140+
CMD = "mvn versions:display-property-updates"
141+
sh CMD
142+
Dir.chdir("golo-maven-plugin") do
143+
sh CMD
144+
end
145+
Dir.chdir("jmh-benchmarks") do
133146
sh CMD
134147
end
135148
end

THIRD-PARTY

+36
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,39 @@ Copyright 2010 Cedric Beust <[email protected]>
5454
See the License for the specific language governing permissions and
5555
limitations under the License.
5656

57+
# Txtmark
58+
59+
See https://github.com/rjeschke/txtmark
60+
61+
Copyright (c) 2011 René Jeschke
62+
63+
Licensed under the Apache License, Version 2.0 (the "License");
64+
you may not use this file except in compliance with the License.
65+
You may obtain a copy of the License at
66+
67+
http://www.apache.org/licenses/LICENSE-2.0
68+
69+
Unless required by applicable law or agreed to in writing, software
70+
distributed under the License is distributed on an "AS IS" BASIS,
71+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
72+
See the License for the specific language governing permissions and
73+
limitations under the License.
74+
75+
# json-simple
76+
77+
See https://code.google.com/p/json-simple/
78+
79+
By Yidong Fang and others.
80+
81+
Licensed under the Apache License, Version 2.0 (the "License");
82+
you may not use this file except in compliance with the License.
83+
You may obtain a copy of the License at
84+
85+
http://www.apache.org/licenses/LICENSE-2.0
86+
87+
Unless required by applicable law or agreed to in writing, software
88+
distributed under the License is distributed on an "AS IS" BASIS,
89+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
90+
See the License for the specific language governing permissions and
91+
limitations under the License.
92+

backlog.markdown

-25
This file was deleted.

benchmarks/README.md

-49
This file was deleted.

0 commit comments

Comments
 (0)