Project Docs Github
Log in
ittf site docs concepts t overview languageschema.html.ittf Edit
  • /ittf/site/docs/concepts/t/overview/languageschema.html.ittf
  • /ittf/site/docs/concepts/t/section.html.ittf

/ittf/site/docs/concepts/t/overview/languageschema.html.ittf (primary)

edit
                                            
1 $group
2 $
3 var sect = {
4 title: 'Wizzi Language Schemas'
5 };
6 section( §)
7 p Artifact generators in most cases
8 \b target imperative programming languages (PLs).
9 p A Language Wizzi Schema describes an ITTF Document
10 \b that an artifact generator can transform in a PL code file.
11 p It can be viewd as a profile of a PL grammar that is implemented partially,
12 \b with some of its symbols stereotyped.
13 p The schema developer should try to find the optimal balance
14 \b between convenience and completeness and
15 \b define the proper approximation of the schema in respect to the PL grammar.
16 \b The purpose of a Wizzi Language Schema is not to map a PL grammar but to make pieces of code
17 \b templeatable and interpolable when convenient.
18 p Wizzi is entirely coded using the `js` Language Wizzi Schema implemented
19 \b by the `wizzi-js` core plugin.
20 ittf-panel
21 title Sample `js` ITTF Document
22 schema js
23 ittf
24 module
25 kind jsfile
26 class Horse
27 super Animal
28 ctor
29 param name
30 base name
31 m say
32 log 'Hiiii i am ' + this.name
33 m create
34 static
35 param name
36 return
37 new Horse
38 @ name

/ittf/site/docs/concepts/t/section.html.ittf

edit
                                            
1 $group
2 $params §
3 article
4 . doc-title
5 id ${sect.id}
6 + ${sect.title}
7 . doc-summary
8 $hook
Save
Save & Refresh
Cancel