Recent

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

MarkMLl

  • Hero Member
  • *****
  • Posts: 2734
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
Turbo Pascal v1 on CCP/M-86, multitasking with LAN and 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: 3075
  • 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: 2734
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
Turbo Pascal v1 on CCP/M-86, multitasking with LAN and 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: 505
  • I click a little.
    • TreeStructInfo — format for text and binary configuration files
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 2.0.12 with FPC 3.2.0 (SVN Revision 64642), Windows 10 — all 64-bit

PascalDragon

  • Hero Member
  • *****
  • Posts: 3075
  • 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: 2734
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
Turbo Pascal v1 on CCP/M-86, multitasking with LAN and 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