Code Notes - GiuseppeChillemi/VID-Extension-Kit GitHub Wiki

Notes on code

Building process

Code is build in an unique file using:

https://github.com/GiuseppeChillemi/VID-Extension-Kit/blob/master/build/build.r (Notes on builder)..

Builder is full of treasures:

  • All contexts are listed
  • Images, base, skin, styles

Files are included using:

https://github.com/GiuseppeChillemi/VID-Extension-Kit/blob/master/build/include.r

Headers are splitted

Type of comments used by the author:

(Type: Where,when) TBD:

--- "REBOL/View: Visual Interface Dialect" 
;-------- Balancer and Resizer 
;--

Main Dir

https://github.com/GiuseppeChillemi/VID-Extension-Kit/tree/master/source

Contexts

https://github.com/GiuseppeChillemi/VID-Extension-Kit/tree/master/source/ctx

All styles

https://github.com/GiuseppeChillemi/VID-Extension-Kit/tree/master/source/styles

Header

REBOL [
	Title: "VID Main"
	Short: "VID Main"
	Author: ["Henrik Mikael Kristensen"]
	Copyright: "2010 - HMK Design"
	Filename: %main.r
	Version: 0.0.1
	Type: 'script
	Maturity: 'unstable
	Release: 'internal
	Created: 13-Nov-2010
	Date: 13-Nov-2010
	License: {
		BSD (www.opensource.org/licenses/bsd-license.php)
		Use at your own risk.
	}
	Purpose: {
		Main file to preprocess and build the VID Extension Kit parts
	}
	History: []
	Keywords: []
]

A particular comment

Henrik has defined a function whose name is ``---` and accepts one argument but it does nothing.

---: func [s] []

He uses this function as divider to enter notes in the code and split areas:

--- "REBOL/View: Visual Interface Dialect" 

As you can see the function does absolutly nothing apert getting one argument, which, in effect, is the comment.