rename soml to typed
This commit is contained in:
parent
f8adf107fe
commit
1175a8eb97
@ -38,7 +38,7 @@
|
|||||||
<a href="/salama/layers.html">Architecture</a>
|
<a href="/salama/layers.html">Architecture</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="link6">
|
<li class="link6">
|
||||||
<a href="/soml/soml.html">Machine layer</a>
|
<a href="/typed/typed.html">Machine layer</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="link7">
|
<li class="link7">
|
||||||
<a href="/arm/overview.html">Arm Resources</a>
|
<a href="/arm/overview.html">Arm Resources</a>
|
||||||
|
@ -14,11 +14,11 @@ layout: site
|
|||||||
<h3 class="center">More Detail</h2>
|
<h3 class="center">More Detail</h2>
|
||||||
<div>
|
<div>
|
||||||
<ul class="nav nav-list">
|
<ul class="nav nav-list">
|
||||||
<li><a href="/soml/soml.html"> Soml </a> </li>
|
<li><a href="/typed/typed.html"> Typed </a> </li>
|
||||||
<li><a href="/soml/syntax.html"> Syntax </a> </li>
|
<li><a href="/typed/parfait.html"> Parfait </a> </li>
|
||||||
<li><a href="/soml/parfait.html"> Parfait </a> </li>
|
<li><a href="/typed/benchmarks.html"> Performance </a> </li>
|
||||||
<li><a href="/soml/benchmarks.html"> Performance </a> </li>
|
<li><a href="/typed/debugger.html"> Debugger </a> </li>
|
||||||
<li><a href="/soml/debugger.html"> Debugger </a> </li>
|
<li><a href="/typed/syntax.html"> Syntax (obsolete)</a> </li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
@ -6,8 +6,8 @@ author: Torsten
|
|||||||
Ok, that was surprising: I just wrote a language in two months. Parser, compiler, working binaries
|
Ok, that was surprising: I just wrote a language in two months. Parser, compiler, working binaries
|
||||||
and all.
|
and all.
|
||||||
|
|
||||||
Then i [documented it](/soml/soml.html) , detailed the [syntax](/soml/syntax.html) and even did
|
Then i [documented it](/typed/typed.html) , detailed the [syntax](/typed/syntax.html) and even did
|
||||||
some [benchmarking](/soml/benchmarks.html). Speed is luckily roughly where i wanted it. Mostly
|
some [benchmarking](/typed/benchmarks.html). Speed is luckily roughly where i wanted it. Mostly
|
||||||
(only mostly?) slower than c, but only by about 50, very understandable percent. It is doing
|
(only mostly?) slower than c, but only by about 50, very understandable percent. It is doing
|
||||||
things in a more roundabout, and easier to understand way, and lacking any optimisation. It means
|
things in a more roundabout, and easier to understand way, and lacking any optimisation. It means
|
||||||
you can do about a million fibonacci(20) in a second on a pi, and beat ruby at it by a about
|
you can do about a million fibonacci(20) in a second on a pi, and beat ruby at it by a about
|
||||||
@ -26,8 +26,8 @@ parfait, rewrote the register level . . .
|
|||||||
To be fair, i don't think anyone writes a language that isn't a toy in 2 months, and it was only
|
To be fair, i don't think anyone writes a language that isn't a toy in 2 months, and it was only
|
||||||
possible because a lot of the stuff was there already.
|
possible because a lot of the stuff was there already.
|
||||||
|
|
||||||
- [Parfait](/soml/parfait.html) was pretty much there. Just consolidated it as it is all just adapter.
|
- [Parfait](/typed/parfait.html) was pretty much there. Just consolidated it as it is all just adapter.
|
||||||
- The [Register abstraction](/soml/debugger.html) (bottom) was there.
|
- The [Register abstraction](/typed/debugger.html) (bottom) was there.
|
||||||
- Using the ast library made things easier.
|
- Using the ast library made things easier.
|
||||||
- A lot of the [parser](https://github.com/salama/salama-reader) could be reused.
|
- A lot of the [parser](https://github.com/salama/salama-reader) could be reused.
|
||||||
|
|
||||||
|
@ -43,12 +43,12 @@ layout: site
|
|||||||
Work is progressing on the ruby compiler. This uses a pure
|
Work is progressing on the ruby compiler. This uses a pure
|
||||||
<a href="https://github.com/whitequark/parser"> ruby parser</a> to create:
|
<a href="https://github.com/whitequark/parser"> ruby parser</a> to create:
|
||||||
<ul>
|
<ul>
|
||||||
<li> An Object model of <a href="/soml/parfait.html">classes, types</a>, methods and basic types </li>
|
<li> An Object model of <a href="/typed/parfait.html">classes, types</a>, methods and basic types </li>
|
||||||
<li> Several strongly typed method versions for every ruby instance method </li>
|
<li> Several strongly typed method versions for every ruby instance method </li>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
The lower level, strongly typed layer is <a href="/soml/soml.html">finished.</a>.
|
The lower level, strongly typed layer is <a href="/typed/typed.html">finished.</a>.
|
||||||
While it has well known typed language data semantics, it introduces several new concept:
|
While it has well known typed language data semantics, it introduces several new concept:
|
||||||
<ul>
|
<ul>
|
||||||
<li> Object based memory (no global memory) </li>
|
<li> Object based memory (no global memory) </li>
|
||||||
@ -76,7 +76,7 @@ layout: site
|
|||||||
The short introduction is under the <a href="/salama/layers.html">architecture</a> menu.
|
The short introduction is under the <a href="/salama/layers.html">architecture</a> menu.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
The section on the intermediate rerepresentation is <a href="/soml/soml.html">here</a>.
|
The section on the intermediate rerepresentation is <a href="/typed/typed.html">here</a>.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
The <a href="/project/motivation.html">about</a> section has some info of when and how this
|
The <a href="/project/motivation.html">about</a> section has some info of when and how this
|
||||||
|
@ -85,7 +85,7 @@ title: Salama architectural layers
|
|||||||
<h5>Soml, Salama object machine language</h5>
|
<h5>Soml, Salama object machine language</h5>
|
||||||
<p>
|
<p>
|
||||||
Soml is probably the larest single part of the system and much more information can be found
|
Soml is probably the larest single part of the system and much more information can be found
|
||||||
<a href="/soml/soml.html"> here </a>.
|
<a href="/typed/typed.html"> here </a>.
|
||||||
<br/>
|
<br/>
|
||||||
Before soml, a more traditional virtual machine approach was taken and abandoned. The language
|
Before soml, a more traditional virtual machine approach was taken and abandoned. The language
|
||||||
is easy to understand and provides a good abstraction, both in terms of object orienteation,
|
is easy to understand and provides a good abstraction, both in terms of object orienteation,
|
||||||
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
layout: soml
|
layout: typed
|
||||||
title: Simple soml performance numbers
|
title: Simple soml performance numbers
|
||||||
---
|
---
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
layout: soml
|
layout: typed
|
||||||
title: Register Level Debugger / simulator
|
title: Register Level Debugger / simulator
|
||||||
---
|
---
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
layout: soml
|
layout: typed
|
||||||
title: Parfait, soml's runtime
|
title: Parfait, soml's runtime
|
||||||
---
|
---
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
layout: soml
|
layout: typed
|
||||||
title: Soml Syntax
|
title: Soml Syntax
|
||||||
---
|
---
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
layout: soml
|
layout: typed
|
||||||
title: Salama object machine language
|
title: Typed intermediate representation
|
||||||
---
|
---
|
||||||
|
|
||||||
### Disclaimer
|
### Disclaimer
|
||||||
@ -69,4 +69,4 @@ to a minimum, currently around 15 classes, described in detail [here](parfait.ht
|
|||||||
Historically Parfait has been coded in ruby, as it was first needed in the compiler.
|
Historically Parfait has been coded in ruby, as it was first needed in the compiler.
|
||||||
This had the additional benefit of providing solid test cases for the functionality.
|
This had the additional benefit of providing solid test cases for the functionality.
|
||||||
Currently the process is to convert the code into soml, using the same compiler used to compile
|
Currently the process is to convert the code into soml, using the same compiler used to compile
|
||||||
ruby.
|
ruby.
|
Loading…
x
Reference in New Issue
Block a user