Property definitions

nitc $ Platform :: defaultinit
# Sub-classes of `Platform` represent the target platform of a compilation
#
# Services will be added to this class in other modules.
class Platform

	# Simple lower-case name of the platform
	fun name: nullable String do return null

	# Does the platform provide and support the library `unwind`?
	fun supports_libunwind: Bool do return true

	# Does the platform provide and supports the Boehm's GC library?
	fun supports_libgc: Bool do return true

	# Does this platform declare its own main function? If so, we won't generate one in Nit.
	fun no_main: Bool do return false

	# Does the platform accepts linker scripts?
	fun supports_linker_script: Bool do return true
end
src/platform/platform.nit:105,1--124,3