Browse Source

Update README.md

Marco Bambini 7 years ago
parent
commit
b126ad2c8e
1 changed files with 5 additions and 2 deletions
  1. 5 2
      README.md

+ 5 - 2
README.md

@@ -1,7 +1,7 @@
 [![Build Status](https://travis-ci.org/marcobambini/gravity.svg?branch=master)](https://travis-ci.org/marcobambini/gravity)
 
 <p align="center" >
-<img src="https://raw.githubusercontent.com/marcobambini/gravity/master/docs/images/logo-gravity.png" height="74px" alt="Gravity Programming Language" title="Gravity Programming Language">
+<img src="https://raw.githubusercontent.com/marcobambini/gravity/master/docs/assets/images/logo-gravity.png" height="74px" alt="Gravity Programming Language" title="Gravity Programming Language">
 </p>
 
 **Gravity** is a powerful, dynamically typed, lightweight, embeddable programming language written in C without any external dependencies (except for stdlib). It is a class-based concurrent scripting language with modern <a href="https://github.com/apple/swift">Swift</a>-like syntax.
@@ -41,10 +41,13 @@ class Vector {
 func main() {
 	// initialize a new vector object
 	var v1 = Vector(1,2,3);
+	
 	// initialize a new vector object
 	var v2 = Vector(4,5,6);
+	
 	// call + function in the vector object
 	var v3 = v1 + v2;
+	
 	// returns string "[5,7,9]"
 	return v3.String();
  }
@@ -69,7 +72,7 @@ func main() {
 Gravity was supported by a couple of open source projects. The inspiration for closures comes from the elegant <a href="http://www.lua.org" target="_blank">Lua</a> programming language; specifically from the document <a href="http://www.cs.tufts.edu/~nr/cs257/archive/roberto-ierusalimschy/closures-draft.pdf">Closures in Lua</a>. For fibers, upvalues handling and some parts of the garbage collector, my gratitude goes to <a href="http://journal.stuffwithstuff.com" target="_blank">Bob Nystrom</a> and his excellent <a href="https://github.com/munificent/wren">Wren</a> programming language. A very special thanks should also go to my friend **Andrea Donetti** who helped me debugging and testing various aspects of the language.
 
 ## Documentation
-The <a href="https://marcobambini.github.io/gravity/getting-started.html">Getting Started</a> page is a guide for downloading and compiling the language. There is also a more extensive <a href="https://marcobambini.github.io/gravity/index.html">language documentation</a> and an <a href="https://marcobambini.github.io/gravity/internals/index.html">internals book</a>, which is currently in progress.<br>
+The <a href="https://marcobambini.github.io/gravity/getting-started.html">Getting Started</a> page is a guide for downloading and compiling the language. There is also a more extensive <a href="https://gravity-lang.org">language documentation</a>.<br>
 Official [wiki](https://github.com/marcobambini/gravity/wiki) is used to collect related projects and tools.
 
 ## Community