had to let go of crystal (sniff) as the name was taken

This commit is contained in:
Torsten Ruger
2014-07-17 01:00:15 +03:00
parent f8e3f17660
commit fb105cb895
24 changed files with 34 additions and 34 deletions

View File

@ -8,7 +8,7 @@ function.
A normal ruby function is one that is parsed and transformed to code. But not all functionality can be written in ruby,
one of those chicken and egg things. C uses Assembler in this situation, we use Kernel function.
Slightly more here : http://crystal-vm.github.io/2014/06/10/more-clarity.html
Slightly more here : http://sapphire-vm.github.io/2014/06/10/more-clarity.html
The Kernal module is scattered into several files, but that is just so the file doesn't get too long.

View File

@ -1,5 +1,5 @@
#integer related kernel functions
module Crystal
module Sapphire
module Kernel
# The conversion to base10 is quite a bit more complicated than i thought. The bulk of it is in div10
# We set up variables, do the devision and write the result to the string

View File

@ -1,4 +1,4 @@
module Crystal
module Sapphire
module Kernel
def self.putstring context
function = Virtual::MethodDefinition.new(:putstring , [] )

View File

@ -1,4 +1,4 @@
module Crystal
module Sapphire
module Kernel
def self.exit context
function = Virtual::MethodDefinition.new(:exit , [] , Virtual::Integer)