The thing inside of us that makes us go up is our attitude.

Random Image

Who's Online

We have 5 guests online

Statistics

Members : 2
Content : 181
Web Links : 6
Content View Hits : 238137



comp.compilers
Compiler construction, theory, etc. (Moderated)

  • Announcing Ox release 1.6.1
    Ox version 1.6.1 is now available on SourceForge (sourceforge.net/projects/ox-attribute-grammar-compiler/). Ox generalizes the function of Yacc in the way that an attribute grammar generalizes a context-free grammar. Ordinary Yacc and Lex specifications may be augmented with definitions of

  • Seed7 Release 2019-10-20
    Hello, I have released a new version of Seed7: seed7_05_20191020.tgz The download is here: https://sourceforge.net/projects/seed7/files In the Seed7 programming language new statements and operators can be declared easily. Types are first class objects and therefore templates/generics need no

  • ELENA 4.1 is out
    ELENA is a general-purpose language with late binding. It is multi-paradigm, combining features of functional and object-oriented programming. It supports both strong and weak types, run-time conversions, boxing and unboxing primitive types, direct usage of external libraries. The latest

  • Re: How do I match empty lines with Flex?
    wrote: >> Dear comp.compilers, >> >> The following program matches lines in a text file, but ignores empty >> lines. Is there any way I can alter it so it returns something on empty >> lines? > > How about: > > .+\n { num_lines++; return NONEMPTY_LINE; } > \n { num_lines++; return

  • Re: How do I match empty lines with Flex?
    On 2019-10-04, Johann 'Myrkraverk' Oskarsson wrote: > Dear comp.compilers, > > The following program matches lines in a text file, but ignores empty > lines. Is there any way I can alter it so it returns something on empty > lines? How about: .+\n { num_lines++

  • How do I match empty lines with Flex?
    Dear comp.compilers, The following program matches lines in a text file, but ignores empty lines. Is there any way I can alter it so it returns something on empty lines? Is there a reason .* doesn't match zero characters in this case? %option noyywrap noinput nounput %{ #include

  • Re: C compiler pointer management on DSPs
    On Sun, 29 Sep 2019 10:53:35 +0200, David Brown wrote: >I can't think of any application where 48-bit would such a natural fit >that you'd have it as your basic access unit. Some video DSP's have >used 48-bit units, but that is for a vector of 3 16-bit colour units.

  • Re: PR1ME C compiler sources and pointer formats
    > associated with IX-mode (which I knew as I*-mode). The 48 bit pointer > registers are not part of that set. And, what I was describing > previously was the way the C compiler worked in V-mode. Reading the > documentation on the C compiler for IX-mode. It is clear that they > added a

  • Re: C compiler pointer management on DSPs
    Zilog produced a somewhat odd upgrade to the Z80 called eZ80. (Not related to the incompatible Z8000 from 1979). No idea in what exact year this was introduced, but it's actually seeing some commercial success, unlike other Z80 upgrade attempts. Such as, it's used in TI-84 graphing calculator

  • Re: PR1ME C compiler sources and pointer formats
    I don't know where you saw the description of the register set. I suspect it was only describing the "general purpose registers" associated with IX-mode (which I knew as I*-mode). The 48 bit pointer registers are not part of that set. And, what I was describing previously was the way the C

  • Re: C compiler pointer management on DSPs
    24-bit DSP's have been popular for audio applications. (There is also the TPU, a specialised RISC processor used for timer applications in engine control microcontrollers, that is 24-bit.) Some processors have larger access sizes to simplify the hardware. The first DEC Alpha, and some ARM

  • Re: C compiler pointer management on DSPs
    George, > Just curious - what DSPs have 48-bit characters? Motorola DSP56000 Family Optimizing C Compiler uses 24 bits TMS320C3x/C4x Optimizing C Compiler uses 32 bits I remember reading a compiler manual and thinking, wow, that's unusual. It's not listed here: www.knosof.co.uk/cbook so

  • Re: PR1ME C compiler pointer management
    > registers. There are base registers, and address registers for e.g. field operands used in packed decimal arithmetic or character string edit instructions. But for the most part, effective addresses would be computed from base registers or pointers in memory. > Do you know if casting an

  • Re: PR1ME C compiler sources
    On Thu, 26 Sep 2019 11:53:20 +0100, "Derek M. Jones" wrote: >John, > >> [The Prime machines suffered from having too many versions of >> everything. Page 41 of that quick reference card has a 48 bit pointer >> format with a bit number in the low 16 bits. It

  • Re: PR1ME C compiler sources
    Dennis, > For the Prime/Conboy/Pacer compiler: > > https://sysovl.info/pages/blobs/prime/devel/C%20Users%20Guide%20T3.0-23.0%20DOC7534-4LA%201990.pdf Thanks. The characteristics of the C compiler make it one of the most unusual I have seen. A discussion that crops up every now and again