Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 3.13 KB

Template.md

File metadata and controls

49 lines (30 loc) · 3.13 KB

[FriendlyLanguageName] (Language.[LanguageName])

[FriendlyLanguageName] has been implemented with [LanguageImplementation]

Implementation / Compiler

Completeness

  • Syntax highlighting
  • Compilation
  • Execution
  • Console ouput
  • Return values
  • Diagnostics
  • Errors

Example Code | Projects

About

[Something about the language]

Globals

[If globals can be used, write them like so:]

You can use the following Globals/Variables inside your code:

  • Random (object, .NET System.Random, msdn): Create random numbers with Random.Next(..)

  • Console (object, .NET System.IO.StringWriter, msdn): Write to Console with Console.WriteLine(string) or Console.Write(string)

  • CurrentThread (object, .NET System.Threading.Thread, msdn): The thread this got initialized on (mostly UI Thread), can be used to access all properties or functions from a System.Threading.Thread.

  • Editor (object, Fiddle Fiddle.UI.Editor (from System.Windows.Window, msdn)): Fiddle's Editor window, can be used to access all UIElements, properties, public functions or functions derived from System.Windows.Window. (Editor XAML code, Editor source code)

  • App (object, .NET System.Windows.Application, msdn): Fiddle's calling Application/App, can be used to access all properties or functions derived from System.Windows.Application)

  • RunUi(Action) (function, void Invoke(Action), declaration): A function with an anonymous function or Action as a parameter to execute code on the UI Thread. This is required for getting/setting properties or calling functions from Editor or App because those are not thread safe. Example:

[Usage of a RunUi call]

[If globals cannot be used, write them like so:]

You cannot use any Globals in your code so far.

Properties

  • [SomeProperty]: [Description about this property]