Autor Beitrag
LonghornUser
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: Di 02.02.10 23:32 
Hallo,

ich suche gerade ein Programm, dass mir meinen recht verwursteten Verilog-Quelltext so formatiert, dass ich es in eine Belegarbeit einfügen kann.

Ich habe mal gegoogelt aber nur viele Source-Codes, aber keine einzige ausführbare (bereits kompilierte) Datei gefunden :(

Hat jemand einen Tipp?

Ciao LHUser
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mi 03.02.10 00:51 
Wenn es nur um Syntax-Highlighting geht, wäre GeSHi die erste Wahl. Bugs darfst Du mir gern mitteilen, falls es da welche finden solltest* ;-)

Generell solltest du aber unterscheiden zwischen:
- Code Formatter / Code Beautifier
- Syntax Highlighter

Ach ja: Wenn Du mit LaTeX arbeitest, könnte das listings-Package für dich interessant sein. Das kann aber nur rudimentäres Highlighting.

*Bugs gehören bei GeSHi zu den bedrohten Spezies :mrgreen:

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
LonghornUser Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: Mi 03.02.10 01:08 
Es geht mir primär darum, korrekte "Einrückungen" vor den Zeilen zu haben und z.B. die begin's und end's an passender Stelle zu setzen. Es ist auch eine case-Anweisung drin, die ordentlich dargestellt werden muss.

Highlighting benötige ich nicht unbedingt, da das ganze eh nur schwarz-weiß gedruckt wird.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mi 03.02.10 01:12 
Für Linux könntest Du einen Blick auf enscript werfen: www.softpanorama.org...es/beautifiers.shtml

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
LonghornUser Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: Mi 03.02.10 02:01 
Gibts denn sowas nicht für Windows? Ich muss zugeben, ich bin etwas geschockt, denn das ist doch etwas, was man häufiger einsetzen könnte?