rubyx/lib/parfait
2020-03-28 21:26:58 +02:00
..
behaviour.rb Rename Vool to Sol 2019-10-04 00:38:47 +03:00
binary_code.rb type attr cleanup 2019-09-10 00:18:20 +03:00
block.rb Copy risc compiler stuff to mom 2019-08-06 18:33:27 +03:00
cache_entry.rb type attr cleanup 2019-09-10 00:18:20 +03:00
callable_method.rb debugging to find operator not being ssa 2020-03-22 14:31:43 +02:00
callable.rb use more instances in parfait 2019-09-10 12:33:57 +03:00
class.rb Rename Vool to Sol 2019-10-04 00:38:47 +03:00
data_object.rb remove parfait module magic 2019-09-09 11:54:45 +03:00
dictionary.rb type attr cleanup 2019-09-10 00:18:20 +03:00
factory.rb debugging to find operator not being ssa 2020-03-22 14:31:43 +02:00
integer.rb add decent method to get the programs return to interpreter 2020-03-28 18:39:49 +02:00
list.rb restrict list index to integer 2020-03-22 14:31:43 +02:00
message.rb debugging to find operator not being ssa 2020-03-22 14:31:43 +02:00
object.rb Fixing new parfait boot process 2019-09-23 00:07:30 +03:00
README.md litte bit of docs 2018-08-24 18:49:44 +03:00
singleton_class.rb the superclass of a singleton class is the singleton class of the superclass 2019-10-01 20:55:05 +03:00
sol_method.rb Rename Vool to Sol 2019-10-04 00:38:47 +03:00
space.rb Rename Vool to Sol 2019-10-04 00:38:47 +03:00
type.rb Introduce singleton types 2019-10-01 19:42:16 +03:00
word.rb rewrote insert, a bit more than anticipated 2020-03-28 21:26:58 +02:00

Parfait: a thin layer

Parfait is the run-time of the object system. To be more precise, it is that part of the run-time needed to boot.

The run-time needs to contain quite a lot of functionality for a dynamic system. And a large part of that functionality must actually be used at compile time too.

We reuse the Parfait code at compile-time, to create the data for the compiled code. To do this the compiler (re) defines the object memory (in parfait_adapter).

A work in progress that started from here : http://ruby-x.org/blog/more-clarity went on here http://ruby-x.org/blog/layers-vs-passes.html and is now documented here http://ruby-x.org/rubyx/parfait.html

A step back: the code (program) we compile runs at run - time. And so does parfait. So all we have to do is compile it with the program.

And thus parfait can be used at run-time.

It's too simple: just slips off the mind like a fish into water.

Parfait has a brother, the Builtin module. Builtin contains everything that can not be coded in ruby, but we still need (things like List access).

Vm vs language- core

Parfait is not the language core library. Core library functionality differs between languages and so the language core lib must be on top of parfait.

To make this point clear, i have started using different names for the core classes. Hopefully more sensible ones, ie List instead of Array, Dictionary instead of Hash.

Also Parfait is meant to be as thin as humanly possibly, so extra (nice to have) functionality will be in future modules.