[fpc-devel] Adding a new assembler to Free Pascal Compiler

2011-04-04 Thread Skybuck Flying
Hello, I would like to experiment with the pascal programming language at the binary/assembler/machine level. For example compile pascal sources to virtual machine instruction sets. I took a look at the free pascal sources and there seem to be some assemblers inside the folders. I see clas

Re: [fpc-devel] Adding a new assembler to Free Pascal Compiler

2011-04-04 Thread Skybuck Flying
Answering my own question ;) I guess the answer to my question is more or less the same as the following question: "How to add a new target to free pascal compiler". And I found this webpage which explains it a bit: http://wiki.freepascal.org/Porting_Free_Pascal#Adding_a_new_target I'll quo

Re: [fpc-devel] Adding a new assembler to Free Pascal Compiler

2011-04-04 Thread Skybuck Flying
Hmm... one of the reasons why I might not have found this documentation is because of this: At the wiki/documentation link: " Online documentation Remark:you must have javascript and style sheets enabled in order to view the html documentation correctly. The following documents are online a

Re: [fpc-devel] Adding a new assembler to Free Pascal Compiler

2011-04-05 Thread Michael Schnell
On 04/05/2011 02:09 AM, Skybuck Flying wrote: So in short what I am looking for is a pascal compiler which takes care of all the work like "lexing/tokenizing/parsing/parse tree/syntax tree/symantec checks/perhaps even optimizing the intermediate code" and gives me something to work with like a

Re: [fpc-devel] Adding a new assembler to Free Pascal Compiler

2011-04-05 Thread Sven Barth
Am 05.04.2011 07:21, schrieb Skybuck Flying: Answering my own question ;) I guess the answer to my question is more or less the same as the following question: "How to add a new target to free pascal compiler". And I found this webpage which explains it a bit: http://wiki.freepascal.org/Porti

Re: [fpc-devel] Adding a new assembler to Free Pascal Compiler

2011-04-05 Thread Sven Barth
Am 05.04.2011 02:09, schrieb Skybuck Flying: Hello, I would like to experiment with the pascal programming language at the binary/assembler/machine level. For example compile pascal sources to virtual machine instruction sets. I took a look at the free pascal sources and there seem to be some

Re: [fpc-devel] Adding a new assembler to Free Pascal Compiler

2011-04-05 Thread Hans-Peter Diettrich
Skybuck Flying schrieb: I would like to experiment with the pascal programming language at the binary/assembler/machine level. For example compile pascal sources to virtual machine instruction sets. Only one machine (instruction set) is supported by an FPC executable. This is because some c

Re: [fpc-devel] Adding a new assembler to Free Pascal Compiler

2011-04-06 Thread Skybuck Flying
Hello, (This posting/reply is mostly ment for: Hans-Peter Diettrich) I saw you mentioned you are working on the "front end part" of the compiler. I also saw you want to introduce either syntaxes or perhaps even languages (?) I guess you want to experiment with alternative syntaxes or introdu

Re: [fpc-devel] Adding a new assembler to Free Pascal Compiler

2011-04-06 Thread Hans-Peter Diettrich
Skybuck Flying schrieb: (This posting/reply is mostly ment for: Hans-Peter Diettrich) I saw you mentioned you are working on the "front end part" of the compiler. I also saw you want to introduce either syntaxes or perhaps even languages (?) Both, but this project is OT here. Have a look

Re: [fpc-devel] Adding a new assembler to Free Pascal Compiler (language features supported/not supported options)

2011-04-06 Thread Skybuck Flying
Here is one little idea which might be obvious: 1. The assembler could notify to the rest of the system like parser or symantic checker which languages features are supported and which are not supported by the assembler. This way certain "language elements" of the language could be turned off