Autor Beitrag
Alibi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 458

Win2K SP3
Delphi 6 Ent
BeitragVerfasst: Mi 22.10.03 17:25 
Hi, hier eine BrainFuck IDE bestehend aus Editor (Mit Syntaxhighlighting und Integration von Interpreter und Compiler und anderen Nettigkeiten), Interpreter und Compiler (Nicht wirklich, ein Programm, welches an einen minimalistischen Interpreter das BF Programm erst aufbereitet und dann als Resource anhängt).
www.philiplb.de/BFIde.zip
obbschtkuche
Gast
Erhaltene Danke: 1



BeitragVerfasst: Mi 22.10.03 22:41 
Bei einigen "Programmen" Teilt mir das Programm mit, dass der "Pointer" unter 1 sein wird. Aber wo ist da das Problem? Unter 0 kommt in der Regel 255. (Und unter 1 ist erst recht kein Problem)
Alibi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 458

Win2K SP3
Delphi 6 Ent
BeitragVerfasst: Mi 22.10.03 23:24 
Ist das so?
Gut, 1 ist ein Fehler, da sollte 0 hin.
Aber kommt bei - einer Zelle, die 0 ist 255?
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Do 23.10.03 10:19 
@Alibi: Könntest du bitte erklären was genau das Programm macht oder einen Link auf eine Seite angeben die das erklärt. Danke!

Gruß
Tino
freq.9
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39

Win XP (RedHat 9)
Delphi 7.0 Ent
BeitragVerfasst: Do 23.10.03 10:59 
Mal ne Frage: was versteht man hier unter IDE ?

_________________
Admin of RealScripts
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Do 23.10.03 11:59 
freq.9 hat folgendes geschrieben:
Mal ne Frage: was versteht man hier unter IDE ?

Integrated Developement Evironment

Gruß
Tino
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Do 23.10.03 14:22 
Tino hat folgendes geschrieben:
@Alibi: Könntest du bitte erklären was genau das Programm macht oder einen Link auf eine Seite angeben die das erklärt. Danke!

Gruß
Tino

brainfuck ist doch ein simple progg spreche. das haben wir doch grad im off topic "kennt ihr brainfuck"

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Do 23.10.03 16:37 
matze hat folgendes geschrieben:
brainfuck ist doch ein simple progg spreche. das haben wir doch grad im off topic "kennt ihr brainfuck"

Aber eine Beschreibung gehört nun mal in dieses Topic. Ich kann schlecht von allen User verlangen das sie das entsprechende Topic in der Off-Topic Sparte gelesen haben.

Gruß
Tino
Alibi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 458

Win2K SP3
Delphi 6 Ent
BeitragVerfasst: Do 23.10.03 16:49 
Naja, dachte eigentlich, dass BF soweit klar ist und was eine IDE ist auch. Woraus diese besteht ist ja beschrieben.
Spieler1
ontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 469


D6 Pers
BeitragVerfasst: Do 23.10.03 16:58 
Cool!
Hast du das alles (Interpreter, IDE, ...) in Delphi geschrieben?
Wenn
- ja: Welche Version davon?
- nein: Welche Sprache dann?

Wieviele Zeilen Code hat denn der Compiler? War es sehr schwierig?
Lhid
ontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 831



BeitragVerfasst: Do 23.10.03 17:00 
meinung und mich grundlegend verändert -> alte beiträge gelöscht.


Zuletzt bearbeitet von Lhid am Sa 26.09.09 09:47, insgesamt 1-mal bearbeitet
obbschtkuche
Gast
Erhaltene Danke: 1



BeitragVerfasst: Do 23.10.03 17:40 
ein BF-Compiler sind ~20 Zeilen und das Ausführen nochmal ~20 ;)
wenn du es an eine Exe Anhängst wird es noch ein bissl mehr.
Spieler1
ontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 469


D6 Pers
BeitragVerfasst: Do 23.10.03 17:47 
obbschtkuche hat folgendes geschrieben:
ein BF-Compiler sind ~20 Zeilen und das Ausführen nochmal ~20 ;)
wenn du es an eine Exe Anhängst wird es noch ein bissl mehr.
Wirklich??? :shock:
Wo kann ich denn dann so einen sehen (Quellcode)?
Alibi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 458

Win2K SP3
Delphi 6 Ent
BeitragVerfasst: Do 23.10.03 18:24 
Alles Delphi.
Und ein Compiler in dem Sinne ist es ja nicht, das Ding hängt bloß das Brainfuckprogramm an einen minimalistischen Interpreter als Resource an.

Und Brainfuckinterpreter gibt es genug im Netz in ALLEN Sprachen (Auch in Brainfuck selber ;)).

Schwierig war das alles nicht, das komplizierteste war ein Syntaxhighlighter für Synedit zu schreiben.
Alibi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 458

Win2K SP3
Delphi 6 Ent
BeitragVerfasst: Fr 24.10.03 01:08 
Soo:
Wenn der Pointer im BF Programm < 1 ist wird der zu 30000 und >30000 zu 1.
Wenn der Wert einer Zelle < 0 ist wird er 255 und > 255 0.
obbschtkuche
Gast
Erhaltene Danke: 1



BeitragVerfasst: Fr 24.10.03 13:54 
Das mit dem Pointer hängt glaube ich auch immer vom Interpreter ab, aber so ist es ok.
Wegen dem interpreter:

Suche bei Google BRAINFUCK INTERPRETER DELPHI