My interest in this new topic was piqued by santosh's recent posting
concerning the subject of ``diagnostic message'' here in clc.
After reading the C99 standard (``n1256.pdf'') , I am unclear if the
requirements of the ``translator'' are fulfilled if a translator does
nothing more than emit appropriate diagnostics -- without taking any
additional steps that could possibly lead to an executable program.
In short, does a tool such a <platform_speci fic>``lint''
</platform_specif icmeet the definition of a translator according the
language definition? 5 1769
Bob Nelson said:
My interest in this new topic was piqued by santosh's recent posting
concerning the subject of ``diagnostic message'' here in clc.
After reading the C99 standard (``n1256.pdf'') , I am unclear if the
requirements of the ``translator'' are fulfilled if a translator does
nothing more than emit appropriate diagnostics -- without taking any
additional steps that could possibly lead to an executable program.
See 5.1.1.2(8) of that document, and also 5.1.2.3, especially section (5).
In short, does a tool such a <platform_speci fic>``lint''
</platform_specif icmeet the definition of a translator according the
language definition?
No, it doesn't. Otherwise, so would the following DOS batch file:
@echo off
rem I'm a C compiler! No, really I am!
echo Your program (if you even have one)
echo may contain a syntax error or a
echo constraint violation. Or, on the
echo other hand, it may not. But I
echo decided in any case not to bother
echo to compile your code. HAND.
exit
--
Richard Heathfield <http://www.cpax.org.uk >
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Richard Heathfield wrote:
Bob Nelson said:
>After reading the C99 standard (``n1256.pdf'') , I am unclear if the requirements of the ``translator'' are fulfilled if a translator does nothing more than emit appropriate diagnostics -- without taking any additional steps that could possibly lead to an executable program.
See 5.1.1.2(8) of that document, and also 5.1.2.3, especially section (5).
>In short, does a tool such a <platform_speci fic>``lint'' </platform_specif icmeet the definition of a translator according the language definition?
No, it doesn't. Otherwise, so would the following DOS batch file:
@echo off
rem I'm a C compiler! No, really I am!
echo Your program (if you even have one)
echo may contain a syntax error or a
echo constraint violation. Or, on the
echo other hand, it may not. But I
echo decided in any case not to bother
echo to compile your code. HAND.
exit
Thanks for making this crystal clear Richard. I was guilty of taking phrases
in the standard such as ``as is'', ``abstract machine'' and forms of
implementation-defined behavior to completely illogical extremes.
How much is a support contract for your ``compiler''? :-)
On 2 Aug 2008 at 5:16, Bob Nelson wrote:
I was guilty of taking phrases in the standard such as ``as is'',
``abstract machine'' and forms of implementation-defined behavior to
completely illogical extremes.
Sounds like you've got a great career ahead of you in clc.
In article <sl************ *******@nospam. invalid>,
Antoninus Twink <no****@nospam. invalidwrote:
>On 2 Aug 2008 at 5:16, Bob Nelson wrote:
>I was guilty of taking phrases in the standard such as ``as is'', ``abstract machine'' and forms of implementation-defined behavior to completely illogical extremes.
Sounds like you've got a great career ahead of you in clc.
Excellent. Well done.
And, like most CLC regs, it sounds like any real career he might have
had is kaput, so he should fit right in around here.
Richard Heathfield schrieb:
No, it doesn't. Otherwise, so would the following DOS batch file:
@echo off
rem I'm a C compiler! No, really I am!
echo Your program (if you even have one)
echo may contain a syntax error or a
echo constraint violation. Or, on the
echo other hand, it may not. But I
echo decided in any case not to bother
echo to compile your code. HAND.
exit
*SPLURF* And it happens once again: There are dozens of coffee stains
all over my TFT. I really should not drink coffee while reading clc.
Your compiler is hilarious! ;-)
Regards,
Johannes
--
"Wer etwas kritisiert muss es noch lange nicht selber besser können. Es
reicht zu wissen, daß andere es besser können und andere es auch
besser machen um einen Vergleich zu bringen." - Wolfgang Gerber
in de.sci.electron ics <47************ ***********@new s.freenet.de> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Stephen Ferg |
last post by:
I need to translate some Perl scripts into Python.
When I went looking for a tool that would help automate the
translation, I was rather surprised that I couldn't find anything.
BridgeKeeper, the only real candidate that I could find, is no longer
available. There are of course general-purpose parsing packages, but
I'm looking for...
|
by: Wade |
last post by:
http://www.slate.com/id/2124561/entry/2124562/
Nice little series by Seth Stevenson for Americans daydreaming about
emigration. Somewhere, anywhere ... maybe Amsterdam?
I've never been to the Netherlands myself, but it sounds very
civilized.
Extra Python connection, besides the obvious one: Is "gezellig" related
to the Zen of Python? (
|
by: Peter Eisentraut |
last post by:
Greetings.
The official PostgreSQL documentation has been translated to German and
has been published as a book by verlag moderne industrie/mitp
("PostgreSQL: Das offizielle Handbuch", ISBN 3-8266-1337-6, see
<http://www.mitp.de/vmi/mitp/detail/pWert/1337>). I am the translator of
this work, but let me assure you I don't get any additional...
|
by: Eric |
last post by:
Hi,
I would like to know if a daemon exist to intercept Oracle queries and
translate to postgresql query...
I have a windows app (AccPac) that connect to an Oracle server via
ODBC. I would like to replace the Oracle server with a postgresql.
Accpac support only Oracle, DB2, MS-SQL and pervasive.
So, something capable of interpreting...
|
by: YorgZero |
last post by:
Hello,
I need to write a DTD to XML Schema translator in C#. Is there some source
code available I can start from? It does not have to be C#, it can be C, C++
or Java.
Thanks
Yorg
| |
by: napi |
last post by:
Does anybody know if there's any C99 to C89 translator out there,
either free
or commercial. I searched on Google but couldn't see it so far.
Thanks for any tips.
Napi
|
by: Robin Tucker |
last post by:
I notice that although the .NET scheme for creating multi-language
applications is generally very good (from the programmers point of view), it
seems to be lacking in one important respect: there doesn't seem to be any
way I can collect together all string literals and/or form resource files in
a manner that a translator (without visual...
|
by: Phil C. |
last post by:
Hi.
I'm having trouble translating a routine to alter validation at the client
and the server.
A portion of the C# code is:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
namespace Test.WebControls
{
public class WebPage : System.Web.UI.Page
|
by: deegeorge |
last post by:
Hi,
I have a website which shows English content. I want a translator tool or webservice(like when clicking on country flag it need to translate), which will translate this content to spanish and danish.This tool/service should do the translation real time based on language preferred by the user. I want to avoid recreating all the pages and...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |