2
0
Эх сурвалжийг харах

Squashed 'src/ted2go/' changes from 3e283dfc..4bb0ed65

4bb0ed65 Parser - fixed call to nullable scope.
c299103b Update README.md

git-subtree-dir: src/ted2go
git-subtree-split: 4bb0ed6594541521c87f8658479e059a8f56dcad
Mark Sibly 8 жил өмнө
parent
commit
3d004d2532

+ 24 - 2
README.md

@@ -1,6 +1,8 @@
 # Ted2Go
 An IDE for Monkey2 programming language.
 
+Binaries for MacOS and Windows are available at [itch.io](https://nerobot.itch.io/ted2go).
+
 ## Benefits & Goals
 * Autocompletion for keywords, modules and user's code (WIP).
 * On-the-fly parser - see errors w/o build (not all errors).
@@ -10,7 +12,27 @@ An IDE for Monkey2 programming language.
 * Doc's hints directly inside of code area (todo).
 
 ## More info
-Discussion page: http://monkeycoder.co.nz/forums/topic/ted2go-fork/
+Discuss on [forum page](http://monkeycoder.co.nz/forums/topic/ted2go-fork/).
 
 ## Monkey <-> money :)
-Support me if you like this project: https://paypal.me/engor
+Support me if you like this project:
+* [PayPal](https://paypal.me/engor)
+* Payed downloading [from itch.io](https://nerobot.itch.io/ted2go)
+
+## Notes for contributors
+Please, take a look at code style. It based on original Ted2.
+
+Will be super-cool if you can write the same style to make this project consistent.
+
+`Local abc:="ABC"` ' there is no spaces in assignment
+
+`digit=8`
+
+`callSomeMethod( param1,param2 )` 'there are spaces in bracket bounds
+
+```
+Method check:Bool( value:Double ) 'spaces in declaration
+                          ' empty line after method name (can ignore if there is one-line body)
+   Return value > 1.75
+End
+```

+ 1 - 1
parser/Monkey2Parser.monkey2

@@ -484,7 +484,7 @@ Class Monkey2Parser Extends CodeParserPlugin
 		
 		If isSelf Or isSuper
 		
-			item=scope.NearestClassScope
+			If scope Then item=scope.NearestClassScope
 			
 		Else ' not 'self' ident