PrismJS / prism

Lightweight, robust, elegant syntax highlighting.
https://prismjs.com
MIT License
12.3k stars 1.3k forks source link

Xojo (past aka. REALBasic) Language #898

Closed XojoGermany closed 8 years ago

XojoGermany commented 8 years ago

Hi, could you please add the Xojo (Language Reference) Syntax as new language?

zeitgeist87 commented 8 years ago

We already have the language Basic. How much difference is there between Xojo and normal Basic? Maybe you could try prism-basic.js and give us a concrete list of things, that are missing?

XojoGermany commented 8 years ago

Know...there are a lot of differences. I can sent you a list with all keywords, functions etc.

XojoGermany commented 8 years ago

To be continued

Commands

Bad

Else

ElseIf

If

EndIf

Pragma

Tag

AddHandler App Array As Assigns ByRef ByVal Break Call Case Catch Const Continue End CurrentMethodName Declare Dim Do Do...Loop DownTo Each Else ElseIf End Enum Exit Extends False Finally For For...Next For Each...Next Global If If...Then...Else In Lib Line Continuation Loop Me Next Nil Optional ParamArray Raise RaiseEvent ReDim Rem RemoveHandler Return Select Select...Case Self Soft Static Step Super Then To True Try Try..Catch Ubound Until Using Wend While While...Wend

Data Types

Auto Variant Boolean Colors: &cRRGGBBAA Currency Double Integer Int8 Short Int16 Int32 Int64 UInteger UInt8 UInt16 UInt32 UInt64 Byte Single Text String Dictionary DictionaryEntry Pair Collection Date DateInterval MemoryBlock MuteableMemoryBlock Point Rect Size BinaryStream FolderItem TextInputStream TextOutputStream

Literals

"" (String/Text) &b (Binary Literal) &h (Hexdecimal Literal) &o (Octal Literal) &u (Unicode Literal)

Operators

+ AddressOf And CType / ^

= Is IsA < <= Mod * New Not <> Or

Xor WeakAddressOf

Methods

Abs ACos ASin ATan ATan2 Ceil Cos Exp Floor Log Max Min RandomInt Round Sign Sin Sqrt Tan