Recent

Author Topic: [SOLVED] $STOP directive with value taken from SizeOf  (Read 5268 times)

MarkMLl

  • Hero Member
  • *****
  • Posts: 6646
Re: $STOP directive with value taken from SizeOf
« Reply #15 on: May 09, 2021, 06:32:44 pm »
The preprocessor related parts are documented in the programmer's guide, cause it's strictly not part of the language.

Does that mean that the compiler could invoke a different program as its front-end preprocessor? >:-)

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

PascalDragon

  • Hero Member
  • *****
  • Posts: 5444
  • Compiler Developer
Re: $STOP directive with value taken from SizeOf
« Reply #16 on: May 10, 2021, 01:29:07 pm »
Does that mean that the compiler could invoke a different program as its front-end preprocessor? >:-)

Read what I wrote: I said that the preprocessor is not part of the language. It is however an intrinsic part of the compiler and not changeable.

MarkMLl

  • Hero Member
  • *****
  • Posts: 6646
Re: $STOP directive with value taken from SizeOf
« Reply #17 on: May 10, 2021, 01:39:32 pm »
Does that mean that the compiler could invoke a different program as its front-end preprocessor? >:-)

Read what I wrote: I said that the preprocessor is not part of the language. It is however an intrinsic part of the compiler and not changeable.

A simple "NO." would have sufficed. I very carefully said /could/, not /can/, so with respect read what *I* wrote.

Having said which, such a thing might be useful since it would allow a standard response to suggestions like "Please can we have braces as block markers": "Sure, write a suitable preprocessor.".

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

furious programming

  • Hero Member
  • *****
  • Posts: 836
Re: $STOP directive with value taken from SizeOf
« Reply #18 on: May 11, 2021, 03:51:33 am »
Ok, now I know everything I wanted. Thank you very much guys for answers.
Lazarus 3.2 with FPC 3.2.2, Windows 10 — all 64-bit

Working solo on an acrade, action/adventure game in retro style (pixelart), programming the engine and shell from scratch, using Free Pascal and SDL. Release planned in 2026.

PascalDragon

  • Hero Member
  • *****
  • Posts: 5444
  • Compiler Developer
Re: $STOP directive with value taken from SizeOf
« Reply #19 on: May 11, 2021, 08:28:57 am »
Having said which, such a thing might be useful since it would allow a standard response to suggestions like "Please can we have braces as block markers": "Sure, write a suitable preprocessor.".

No. (You asked for it :P )

MarkMLl

  • Hero Member
  • *****
  • Posts: 6646
Re: $STOP directive with value taken from SizeOf
« Reply #20 on: May 11, 2021, 09:06:55 am »
Having said which, such a thing might be useful since it would allow a standard response to suggestions like "Please can we have braces as block markers": "Sure, write a suitable preprocessor.".

No. (You asked for it :P )

GRIN

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018