Thorium
***************************************************************************** *** THORIUM SCRIPTING LANGUAGE - by Jonas Wielicki ******************************************************************************** ** File Name: thorium.pas ** Last update: 2010-03-14 This file is part of the Thorium Scripting Language Project. The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. Alternatively, the contents of this file may be used under the terms of the GNU General Public license (the "GPL License"), in which case the provisions of GPL License are applicable instead of those above. For feedback and questions about Thorium Scripting Language please mail me, Jonas Wielicki: j.wielicki@sotecware.net For a Changelog see the CHANGELOG.txt. Special thanks go to (alphabetical order): * Delphic For his great tutorial about scripting languages on delphigl. <http://wiki.delphigl.com/index.php/Tutorial_Scriptsprachen_Teil_1> <http://wiki.delphigl.com/index.php/Tutorial_Scriptsprachen_Teil_2> * those in #delphigl on the euirc network For not kicking me when I jumped in and asked weird questions about asm stuff and design concepts. And of course for the answers ;) * delphigl.com A great german Pascal and OpenGL community. * Kevin Niehage For a lot of information about calling conventions on 32bit platforms. * littleDave For surviving my attack with a lot of private messages concerning how to understand and implement a scripting language. ******************************************************************************
Interface overview
Class overview
- Exception
- TObject
- TThorium
- TThoriumCompilerBreakContext
- TThoriumCustomCompiler
- TThoriumHashableObject
- TThoriumHostFunctionParameterSpec
- TThoriumIdentifierTable
- TThoriumInstructions
- TThoriumIntList
- TThoriumLibraryConstant
- TThoriumParameters
- TThoriumPublicValue
- TThoriumReferenceImplementation
- TThoriumStack
- TThoriumVirtualMachine
- TPersistent
Function overview
| Kind | Name | Parameters | Result type | ||
|---|---|---|---|---|---|
operator | ( | TThoriumValue | ): | TThoriumCompileTimeValue | |
operator | " | ( | TThoriumCompileTimeValue | ): | TThoriumValue |
operator | " | ( | TThoriumInstructionArray | ): | TThoriumGenericOperation |
operator | " | ( | TThoriumValue | ): | TThoriumInitialData |
function | ( | TThoriumExternalFunctionVarType; String; Cardinal | ): | TThoriumHostRecordField | |
function | ( | TThoriumHostType; TThoriumHostObjectType = nil; Boolean = False | ): | TThoriumExternalFunctionVarType | |
function | ( | const Type1, Type2: TThoriumType | ): | TThoriumType): Boolean | |
function | ( | TThoriumHostObjectType | ): | TThoriumValue | |
function | ( | TThoriumFloat | ): | TThoriumValue | |
function | ( | TThoriumInteger | ): | TThoriumValue | |
function | ( | TThoriumString | ): | TThoriumValue | |
function | ( | TThoriumType | ): | TThoriumValue | |
function | ( | TThoriumOperationDescription; TThoriumRegisterID = THORIUM_REGISTER_INVALID; TThoriumRegisterID = THORIUM_REGISTER_INVALID; TThoriumRegisterID = THORIUM_REGISTER_INVALID; TThoriumGenericOperationRegisters = [] | ): | TThoriumGenericOperation | |
procedure | ( | TThoriumValue | ); | ||
function | ( | TThoriumInstruction | ): | String | |
function | ( | Pointer; Pointer | ): | TMethod | |
function | ( | TThoriumRegisterID | ): | String | |
function | ( | TThoriumValue | ): | String | |