Šī lapa labāk darbojas, ja pārlūkam ir iespējots JavaScript.
Sākums
Izpētīt
Palīdzība
Pierakstīties
kindlich
/
ZenScript
atdalīts no
ZenScript/ZenScript
Vērot
1
Pievienot zvaigznīti
1
Atdalīts
0
Kods
Problēmas
0
Izmaiņu pieprasījumi
0
Laidieni
0
Vikivietne
Aktivitāte
ZenScript main repository
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
126
Revīzijas
7
Atzari
Koks:
beb8ef3696
1.14
WIP/functionalInterfaces
development
feature/remove-storedtypes
genericParams
master
stdlib
Atzari
Tagi
${ item.name }
Izveidot atzaru
${ searchTerm }
no 'beb8ef3696'
${ noResults }
ZenScript
/
ScriptingExample
Vēsture
kindlich
e5dd5f08fe
Merge remote-tracking branch 'Stan/development' into development
6 gadus atpakaļ
..
scripts/
ttt
Merge remote-tracking branch 'Stan/development' into development
6 gadus atpakaļ
src/main/java/org/openzen/zenscript/
scriptingexample
- Added support for implementations and method overriding - Added override method header inference: if a method overrides or implements another method, and types are missing from the header, these will be inherited from the base method. This works with any kind of method (method, operator, getter, setter, caller) - Added method return type inference, which is automatically inferred from the return value of the contents of the method. This functionality is not yet fully implemented, and will fail with certain expressions (most notably, member expressions and calls). The goal is to make this system work as long as there is no recursion. This works with methods, operators, getters, calls as well as fields and constants with initializers. - Removed the any type. With return type inference its usefulness has become even more limited, and proper implementation of the any type is expected to be complicated, thus not worth the effort. (this may be revisited later on, as "any" remains a reserved keyword) - Fixed compilation of throw as panic expressions in lambda function bodies - Moved name from FunctionalMember to MethodMember, where it makes more sense - Each method (or functional) is now also aware of the member that it overrides
6 gadus atpakaļ
build.gradle
- Added validator
6 gadus atpakaļ