namechange
This commit is contained in:
@ -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://kide-vm.github.io/2014/06/10/more-clarity.html
|
||||
Slightly more here : http://salama-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.
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#integer related kernel functions
|
||||
module Kide
|
||||
module Salama
|
||||
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
|
||||
|
@ -1,4 +1,4 @@
|
||||
module Kide
|
||||
module Salama
|
||||
module Kernel
|
||||
def self.putstring context
|
||||
function = Virtual::MethodDefinition.new(:putstring , [] )
|
||||
|
@ -1,4 +1,4 @@
|
||||
module Kide
|
||||
module Salama
|
||||
module Kernel
|
||||
def self.exit context
|
||||
function = Virtual::MethodDefinition.new(:exit , [] , Virtual::Integer)
|
||||
|
Reference in New Issue
Block a user