Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Martin Dvorak
committed
Jan 2, 2014
1 parent
a2ae97f
commit 27f2680
Showing
53 changed files
with
13,948 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
|
||
Obsah adresare: | ||
|
||
/DOC | ||
- dokumentace k programu v HTML - ctete prosim jako prvni. | ||
Obsahuje technicke poznamky, uzivatelskou i programatorkou DOC. | ||
|
||
/SOURCE | ||
- zdrojaky | ||
|
||
/MAIN | ||
- main projektu | ||
|
||
hilex.prj | ||
- project file Borland C++ 3.1 | ||
|
||
/HLX | ||
- zaloha HLX souboru | ||
|
||
*.hlx | ||
- HLX soubory ( viz. dokumentace ) | ||
|
||
/EXE | ||
- prelozeny program - NEPOUZIVEJTE ( mel jsem ho pouze na transport ) | ||
|
||
|
||
Martin Dvorak | ||
ultradvorka@post.cz | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,167 @@ | ||
#--------------------------------------------------------------------------------- | ||
# | ||
# Configuration file for HILEX | ||
# | ||
# Languague: C++ | ||
# | ||
# by Dvorka | ||
# | ||
#--------------------------------------------------------------------------------- | ||
|
||
Setup( "TRANSLATION" ) | ||
{ | ||
Output ="HTML_PAGE"; # HTML_PAGE or NO_ENCAPS or HTML_TABLE | ||
|
||
CRLF ="FALSE"; # add CRs to output ( Unix LF, Dos CRLF ) | ||
HtmlOutput="TRUE"; # convert < to < ... | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Setup( "ENCAPSULATION" ) | ||
{ | ||
Face_Font ="COURIER NEW"; | ||
Title ="HILEX translated source"; | ||
BaseColor ="#FFFF00"; | ||
BaseSize ="+1"; | ||
BgColor ="#000080"; | ||
Width ="555"; # used when HTML_TABLE in other cases is ignored | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "KEYWORDS" ) | ||
{ | ||
Descr="(asm)|(auto)|(break)|(case)|(cdecl)|(char)|(class)|(const)|"; | ||
Descr="(continue)|(_cs)|(default)|(delete)|(do)|(double)|(_ds)|(else)|"; | ||
Descr="(enum)|(_es)|(_export)|(extern)|(far)|(float)|(for)|(friend)|"; | ||
Descr="(goto)|(huge)|(if)|(inline)|(int)|(interrupt)|(_loadds)|(long)|"; | ||
Descr="(near)|(new)|(operator)|(pascal)|(private)|(protected)|(public)|"; | ||
Descr="(register)|(return)|(_saveregs)|(_seg)|(short)|(signed)|(sizeof)|"; | ||
Descr="(ss)|(static)|(struct)|(switch)|(template)|(this)|(typedef)|"; | ||
Descr="(union)|(unsigned)|(virtual)|(void)|(volatile)|(while)"; | ||
|
||
Color="#FFFFFF"; | ||
Bold="TRUE"; | ||
|
||
Action="ENCAPSULATE"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "IDENTIFIER" ) | ||
{ | ||
Descr ="[A-Za-z_][A-Za-z_0-9]*"; | ||
|
||
Color="#FFFF00"; | ||
|
||
Action="ENCAPSULATE"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "SYMBOL" ) | ||
{ | ||
Descr ="\.|;|,|:|-|=|^|&|\?|<|>|%|!|~|\+|/|\*|\[|\]|\{|\}|\||\(|\)"; | ||
|
||
Raw_beg="<FONT COLOR=\"#FFFFFF\">"; | ||
Raw_end="</FONT>"; | ||
|
||
Action="ENCAPSULATE"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "PREPROCESOR" ) | ||
{ | ||
Descr="#([^\n]|(\\\n))*\n"; | ||
|
||
Color="#00FF00"; | ||
|
||
Action="ENCAPSULATE"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "C COMMENTS" ) | ||
{ | ||
Descr="/\*((\*+[^/])|([^\*]))*\*+/"; | ||
|
||
Color="#C0C0C0"; | ||
Italic="TRUE"; | ||
|
||
Action="ENCAPSULATE"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "C++ COMMENTS" ) | ||
{ | ||
Descr="//[^\n]*\n"; | ||
|
||
Color="#C0C0C0"; | ||
Italic="TRUE"; | ||
|
||
Action="ENCAPSULATE"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "STRING" ) | ||
{ | ||
Descr="\"(([^\"])|(\\"))*\""; | ||
|
||
Color="#00FFFF"; | ||
|
||
Action="ENCAPSULATE"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "CHARACTER CONSTANT" ) | ||
{ | ||
Descr="'(.)|(\\.)'"; | ||
|
||
Color="#00FFFF"; | ||
|
||
Action="ENCAPSULATE"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "DECIMAL CONSTANT" ) | ||
{ | ||
Descr="[0-9]+[Uu]?[Ll]?"; | ||
|
||
Color="#00FFFF"; | ||
|
||
Action="ENCAPSULATE"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "HEXA CONSTANT" ) | ||
{ | ||
Descr="0[xX][0-9A-Fa-f]+[Uu]?[Ll]?"; | ||
|
||
Color="#00FFFF"; | ||
|
||
Action="ENCAPSULATE"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "FLOAT CONSTANT" ) | ||
{ | ||
Descr="([0-9]+\.[0-9]*[fF]?[Ll]?)|([0-9]+[fF]?[Ll]?)|"; | ||
Descr="([0-9]+\.[0-9]*[Ee]-?\+?[0-9]+[fF]?[Ll]?)"; | ||
|
||
Color="#00FFFF"; | ||
|
||
Action="ENCAPSULATE"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
#--------------------------------------------------------------------------------- | ||
# | ||
# Configuration file for HILEX | ||
# | ||
# Usage: File for porting CPP files from DOS to UNIX | ||
# | ||
# by Dvorka | ||
# | ||
#--------------------------------------------------------------------------------- | ||
|
||
Setup( "TRANSLATION" ) | ||
{ | ||
Output ="NO_ENCAPS"; # HTML_PAGE or NO_ENCAPS or HTML_TABLE | ||
|
||
CRLF ="FALSE"; # add CRs to output ( Unix LF, Dos CRLF ) | ||
HtmlOutput="FALSE"; # convert < to < ... | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "farmalloc -> malloc" ) | ||
{ | ||
Descr="farmalloc"; | ||
|
||
Action="REPLACE"; | ||
|
||
Raw="malloc"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "FAR away" ) | ||
{ | ||
Descr="far"; | ||
|
||
Action="REMOVE"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "KEYWORDS" ) | ||
{ | ||
Descr="(asm)|(auto)|(break)|(case)|(cdecl)|(char)|(class)|(const)|"; | ||
Descr="(continue)|(_cs)|(default)|(delete)|(do)|(double)|(_ds)|(else)|"; | ||
Descr="(enum)|(_es)|(_export)|(extern)|(far)|(float)|(for)|(friend)|"; | ||
Descr="(goto)|(huge)|(if)|(inline)|(int)|(interrupt)|(_loadds)|(long)|"; | ||
Descr="(near)|(new)|(operator)|(pascal)|(private)|(protected)|(public)|"; | ||
Descr="(register)|(return)|(_saveregs)|(_seg)|(short)|(signed)|(sizeof)|"; | ||
Descr="(ss)|(static)|(struct)|(switch)|(template)|(this)|(typedef)|"; | ||
Descr="(union)|(unsigned)|(virtual)|(void)|(volatile)|(while)"; | ||
|
||
Action="NO"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "IDENTIFIER" ) | ||
{ | ||
Descr ="[A-Za-z_][A-Za-z_0-9]*"; | ||
|
||
Action="NO"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "SYMBOL" ) | ||
{ | ||
Descr ="\.|;|,|:|-|=|^|&|\?|<|>|%|!|~|\+|/|\*|\[|\]|\{|\}|\||\(|\)"; | ||
|
||
Action="NO"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "PREPROCESOR" ) | ||
{ | ||
Descr="#([^\n]|(\\\n))*\n"; | ||
|
||
Action="NO"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "C COMMENTS" ) | ||
{ | ||
Descr="/\*((\*+[^/])|([^\*]))*\*+/"; | ||
|
||
Action="NO"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "C++ COMMENTS" ) | ||
{ | ||
Descr="//[^\n]*\n"; | ||
|
||
Action="NO"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "STRING" ) | ||
{ | ||
Descr="\"(([^\"])|(\\"))*\""; | ||
|
||
Action="NO"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "CHARACTER CONSTANT" ) | ||
{ | ||
Descr="'(.)|(\\.)'"; | ||
|
||
Action="NO"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "DECIMAL CONSTANT" ) | ||
{ | ||
Descr="[0-9]+[Uu]?[Ll]?"; | ||
|
||
Action="NO"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "HEXA CONSTANT" ) | ||
{ | ||
Descr="0[xX][0-9A-Fa-f]+[Uu]?[Ll]?"; | ||
|
||
Action="NO"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
Element( "FLOAT CONSTANT" ) | ||
{ | ||
Descr="([0-9]+\.[0-9]*[fF]?[Ll]?)|([0-9]+[fF]?[Ll]?)|"; | ||
Descr="([0-9]+\.[0-9]*[Ee]-?\+?[0-9]+[fF]?[Ll]?)"; | ||
|
||
Action="NO"; | ||
} | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
||
|
||
|
Oops, something went wrong.