1
NAME: --------------------------------------------------------------------------
2
2
The (Super) Simple Type System
4
Authors: -----------------------------------------------------------------------
5
5
Gustav Hartvigsson (c) 2013-2015
7
ABOUT: -------------------------------------------------------------------------
8
8
The software (The type-system) is an experiment. It was
9
9
written by Gustav Hartvigsson to see how to create a simple reference counting
10
10
type system that was super simple. (Redundancy is redundant).
18
18
If you need a real type system for C use GLib/GObject. It
19
19
is a much more mature and better designed type system
20
than mine. It also has a main-loop and threading support
22
HACKING: -----------------------------------------------------------------------
23
(We assume you are using a *Nix system or Cygwin/MinGW enviorment with the
26
First make sure you have a place where you store your projects, say $HOME/devel/
27
or the likes and you are in that directory. And you need a launchpad account,
28
and set up your bazaar with your launchpad account.
30
Info on how to do this can be found here:
31
http://doc.bazaar.canonical.com/plugins/en/launchpad-plugin.html
32
https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair
34
When you start hacking it is importat to get a copy of the trunk, to do this run:
35
$ bzr branch lp:simpletypesystem simpletypesystem_trunk
36
This will be your local trunk copy and should not be changed for the time being.
38
To update your trunk run:
41
When you have your local trunk cd to it and run
42
$ ./build.sh branch my-branch-name-here
43
this will create a branch of your _local_ trunk copy. When it is done cd into
45
$ cd ../simpletypesystem_my-branch-name-here
47
Then we have to associate your branch with a branch on launchpad:
48
$ bzr push --remember lp:~<lp-username>/simpletypesystem/my-branch-name-here
50
Then you can start hacking!
52
To commit your changes you can run:
57
to push your changed run
60
to propose the changes for merge run
61
$ bzr lp-propose-merge
63
ALSO: --------------------------------------------------------------------------
25
65
THIS SOFTWARE IS DISTRIBUTED AS IS, IT IS AN EXPERIMENT
26
66
AND SHOULD BE TREATED AS SUCH. ALL AND ANY CLAIMS --
29
69
THIS SOFTWARE IS DISTRIBUTED UNDER THE BSD LICENCE.
31
NOTE THAT INCLINATION (using #include or otherwise) OF
71
NOTE THAT INCLUDATIONS (using #include or otherwise) OF
32
72
THE HEADER FILES (files ending with .h) IS _NOT_
33
73
CONSIDERED AS DERIVATIVE, BUT CHANGES TO THE HEADER