Changeset 07fdf203 in mainline


Ignore:
Timestamp:
2009-09-11T15:46:20Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e8e2ae1
Parents:
ac2c2ea7
Message:

Extend HelenOS architecture description by introducing Architecture Description Language, interface protocols and frame protocols
Document kernel syscall API
Start documenting uspace architecture and behavior

Location:
contrib
Files:
23 added
3 deleted
2 edited
45 moved

Legend:

Unmodified
Added
Removed
  • contrib/arch/hadlbppp.py

    rac2c2ea7 r07fdf203  
    2828#
    2929"""
    30 HelenOS Behavior Protocols preprocessor
     30HelenOS Architecture Description Language and Behavior Protocols preprocessor
    3131"""
    3232
     
    141141        inf.close()
    142142
    143 def recursion(root, outf, level):
     143def recursion(root, output, level):
    144144        "Recursive directory walk"
    145145       
     
    161161       
    162162        path = os.path.abspath(sys.argv[1])
    163         if (os.path.isdir(path)):
    164                 print "<OUTPUT> is an existing directory"
     163        if (not os.path.isdir(path)):
     164                print "<OUTPUT> is not a directory"
    165165                return
    166166       
    167         outf = file(path, "w")
    168         recursion(".", outf, 0)
    169         outf.close()
     167        recursion(".", path, 0)
    170168       
    171169if __name__ == '__main__':
  • contrib/highlight/adl.syntax

    rac2c2ea7 r07fdf203  
    55        keyword whole interface yellow
    66        keyword whole frame yellow
     7        keyword whole architecture yellow
     8       
     9        keyword whole system yellow
     10        keyword whole extends yellow
     11        keyword whole version yellow
     12       
     13        keyword whole inst yellow
     14        keyword whole bind yellow
     15        keyword whole to yellow
     16        keyword whole subsume yellow
     17        keyword whole delegate yellow
    718       
    819        keyword whole ipcarg_t yellow
     
    3344        keyword ] brightblue black
    3445
     46context exclusive [ ] brightblue black
     47        keyword % brightcyan black
     48
    3549context exclusive /\* \*/ brown
    3650        spellcheck
  • contrib/highlight/bp.syntax

    rac2c2ea7 r07fdf203  
    44context default
    55        keyword whole NULL yellow
     6        keyword whole try yellow
     7        keyword whole catch yellow
     8        keyword whole tentative yellow
    69       
    710        keyword /\* brown
     
    2932
    3033context exclusive [ ] brightblue black
     34        keyword % brightcyan black
    3135
    3236context exclusive /\* \*/ brown
Note: See TracChangeset for help on using the changeset viewer.