Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #1674 > unrolled thread

Cmajor 1.4.0 released

Started by"Seppo Laakko" <seppo.laakko@pp.inet.fi>
First post2016-03-13 21:52 +0200
Last post2016-03-29 15:24 +0300
Articles 3 — 2 participants

Back to article view | Back to comp.compilers


Contents

  Cmajor 1.4.0 released "Seppo Laakko" <seppo.laakko@pp.inet.fi> - 2016-03-13 21:52 +0200
    Re: Cmajor 1.4.0 released Aaron Gray <aaronngray@gmail.com> - 2016-03-25 11:02 -0700
      Re: Cmajor 1.4.0 released "Seppo Laakko" <seppo.laakko@pp.inet.fi> - 2016-03-29 15:24 +0300

#1674 — Cmajor 1.4.0 released

From"Seppo Laakko" <seppo.laakko@pp.inet.fi>
Date2016-03-13 21:52 +0200
SubjectCmajor 1.4.0 released
Message-ID<16-03-002@comp.compilers>
Hello!

Cmajor compiler version 1.4.0 released:

http://sourceforge.net/projects/cmajor/files/1.4.0/

Cmajor is a hybrid programming language based on C++ and C#.  Its
syntax is closer to C#'s than C++'s syntax and semantics closer to
C++'s semantics than C#'s semantics.

It's not garbage collected but relies on destructors doing the cleanup
as in C++.

It runs on Windows and Linux, has LLVM and C backends, has basic
implementation of concepts, has an IDE in Windows, and has support for
debugging integrated in IDE in Windows and using command line tool
cmdb in Linux.

New in this release:
o    Unicode support.
o    Interfaces like in Java and C#.

Regards,
Seppo Laakko

[toc] | [next] | [standalone]


#1680

FromAaron Gray <aaronngray@gmail.com>
Date2016-03-25 11:02 -0700
Message-ID<16-03-008@comp.compilers>
In reply to#1674
On Tuesday, 15 March 2016 12:10:09 UTC, Seppo Laakko  wrote:
> New in this release:
> o    Unicode support.

How gooder Unicode support is this? There are lots of incomplete Unicode libraries or is this just character literal support ?

Aaron

[toc] | [prev] | [next] | [standalone]


#1684

From"Seppo Laakko" <seppo.laakko@pp.inet.fi>
Date2016-03-29 15:24 +0300
Message-ID<16-03-012@comp.compilers>
In reply to#1680
It has not complete Unicode support. I should have written "some support for
Unicode".

It is assumed that the encoding of Cmajor source files is UTF-8, so the
string literals are in UTF-8 encoding.

In Windows, the UTF-8 string literals are converted to UTF-16 for output.
In Linux, the string literals are output as is, because the UTF-8 locale can
correctly handle them.

There are three character types: char (8-bit unsigned), wchar (16-bit
unsigned) and uchar (32-bit unsigned) for storing 8-bit, UTF-16 and UTF-32
character values respectively.

There are also three string types:
string, a typedef for System.String<char> for representing ASCII and UTF-8 strings,
wstring, a typedef for System.String<wchar> for representing UTF-16 strings and
ustring, a typedef for System.String<uchar> for representing UTF-32 strings.

The character classification functions in System.Unicode namespace like
IsLower(uchar c) use Unicode character information.

The string conversion functions ToUpper and ToLower use Unicode character
information.
For example, ToUpper converts Finnish characters like
LATIN SMALL LETTER A WITH DIAERESIS, 0xE4 to uppercase
LATIN CAPITAL LETTER A WITH DIAERESIS, 0xC4.

Seppo

-----Alkuperdinen viesti-----
From: Aaron Gray
Sent: Friday, March 25, 2016 8:02 PM Newsgroups: comp.compilers Subject: Re:
Cmajor 1.4.0 released

On Tuesday, 15 March 2016 12:10:09 UTC, Seppo Laakko  wrote:
> New in this release:
> o    Unicode support.

How gooder Unicode support is this? There are lots of incomplete Unicode
libraries or is this just character literal support ?

Aaron

[toc] | [prev] | [standalone]


Back to top | Article view | comp.compilers


csiph-web