Saturday, May 25, 2019

Digest for comp.lang.c++@googlegroups.com - 4 updates in 2 topics

Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: May 25 11:49PM +0100

Hi!
 
Here is an example session demoing neos semantic concept folding working!
As I write this the only concept to support folding is the string concept
from character concepts. I will have a busy bank holiday weekend
implement more concepts!
 
Scroll down to bottom for listing of program being compiled.
 
neos 1.0.0.0 ED-209
Loading schema 'neoscript.neos'...
Language: Default neoGFX scripting language
Version: 1.0.0
Copyright (C) 2019 Leigh Johnston
prefold: <3: line 3, col 6> language.keyword ()
prefold: <4: line 3, col 7> string.utf8.character.alpha (n)
prefold: <5: line 3, col 8> string.utf8.character.alpha (e)
prefold: <5: line 3, col 9> string.utf8.character.alpha (o)
prefold: <5: line 3, col 10> string.utf8.character.alpha (s)
prefold: <5: line 3, col 11> string.utf8.character.period (.)
prefold: <6: line 3, col 12> string.utf8.character.alpha (s)
prefold: <7: line 3, col 13> string.utf8.character.alpha (t)
prefold: <7: line 3, col 14> string.utf8.character.alpha (r)
prefold: <7: line 3, col 15> string.utf8.character.alpha (i)
prefold: <7: line 3, col 16> string.utf8.character.alpha (n)
prefold: <7: line 3, col 17> string.utf8.character.alpha (g)
prefold: <4: line 3, col 18> module.package.name ()
prefold: <3: line 3, col 18> module.package.import ()
prefold: <3: line 3, col 18> module.package.instantiate ()
prefold: <3: line 4, col 6> language.keyword ()
prefold: <4: line 4, col 7> string.utf8.character.alpha (n)
prefold: <5: line 4, col 8> string.utf8.character.alpha (e)
prefold: <5: line 4, col 9> string.utf8.character.alpha (o)
prefold: <5: line 4, col 10> string.utf8.character.alpha (s)
prefold: <5: line 4, col 11> string.utf8.character.period (.)
prefold: <6: line 4, col 12> string.utf8.character.alpha (s)
prefold: <7: line 4, col 13> string.utf8.character.alpha (t)
prefold: <7: line 4, col 14> string.utf8.character.alpha (r)
prefold: <7: line 4, col 15> string.utf8.character.alpha (e)
prefold: <7: line 4, col 16> string.utf8.character.alpha (a)
prefold: <7: line 4, col 17> string.utf8.character.alpha (m)
prefold: <4: line 4, col 18> module.package.name ()
prefold: <3: line 4, col 18> module.package.import ()
prefold: <3: line 4, col 18> module.package.instantiate ()
prefold: <3: line 6, col 7> language.keyword ()
prefold: <4: line 6, col 10> language.keyword ()
prefold: <5: line 6, col 11> string.utf8.character.alpha (t)
prefold: <6: line 6, col 12> string.utf8.character.alpha (o)
prefold: <6: line 6, col 13> string.utf8.character.underscore (_)
prefold: <6: line 6, col 14> string.utf8.character.alpha (s)
prefold: <6: line 6, col 15> string.utf8.character.alpha (t)
prefold: <6: line 6, col 16> string.utf8.character.alpha (r)
prefold: <6: line 6, col 17> string.utf8.character.alpha (i)
prefold: <6: line 6, col 18> string.utf8.character.alpha (n)
prefold: <6: line 6, col 19> string.utf8.character.alpha (g)
prefold: <5: line 6, col 20> string.utf8 ()
prefold: <5: line 6, col 20> language.identifier ()
fold: string.utf8() <- string.utf8.character.alpha() = string.utf8(g)
fold: string.utf8(g) <- string.utf8.character.alpha() = string.utf8(gn)
fold: string.utf8(gn) <- string.utf8.character.alpha() = string.utf8(gni)
fold: string.utf8(gni) <- string.utf8.character.alpha() = string.utf8(gnir)
fold: string.utf8(gnir) <- string.utf8.character.alpha() = string.utf8(gnirt)
fold: string.utf8(gnirt) <- string.utf8.character.alpha() =
string.utf8(gnirts)
fold: string.utf8(gnirts) <- string.utf8.character.underscore() =
string.utf8(gnirts_)
fold: string.utf8(gnirts_) <- string.utf8.character.alpha() =
string.utf8(gnirts_o)
fold: string.utf8(gnirts_o) <- string.utf8.character.alpha() =
string.utf8(gnirts_ot)
fold: string.utf8(gnirts_ot) <- string.utf8(gnirts_ot) =
string.utf8(to_string)
prefold: <10: line 6, col 21> string.utf8.character.alpha (x)
prefold: <10: line 6, col 22> string.utf8 ()
prefold: <10: line 6, col 22> language.identifier ()
fold: string.utf8() <- string.utf8.character.alpha() = string.utf8(x)
fold: string.utf8(x) <- string.utf8(x) = string.utf8(x)
prefold: <9: line 6, col 22> language.function.parameter ()
prefold: <11: line 6, col 28> language.type.i32 ()
prefold: <7: line 6, col 28> language.function.parameters ()
prefold: <10: line 6, col 39> language.type.string ()
prefold: <9: line 6, col 39> language.function.return ()
prefold: <4: line 6, col 39> language.function.signature ()
prefold: <4: line 6, col 40> language.function.import ()
prefold: <3: line 7, col 7> language.keyword ()
prefold: <4: line 7, col 10> language.keyword ()
prefold: <5: line 7, col 11> string.utf8.character.alpha (t)
prefold: <6: line 7, col 12> string.utf8.character.alpha (o)
prefold: <6: line 7, col 13> string.utf8.character.underscore (_)
prefold: <6: line 7, col 14> string.utf8.character.alpha (i)
prefold: <6: line 7, col 15> string.utf8.character.alpha (n)
prefold: <6: line 7, col 16> string.utf8.character.alpha (t)
prefold: <6: line 7, col 17> string.utf8.character.alpha (e)
prefold: <6: line 7, col 18> string.utf8.character.alpha (g)
prefold: <6: line 7, col 19> string.utf8.character.alpha (e)
prefold: <6: line 7, col 20> string.utf8.character.alpha (r)
prefold: <5: line 7, col 21> string.utf8 ()
prefold: <5: line 7, col 21> language.identifier ()
fold: string.utf8() <- string.utf8.character.alpha() = string.utf8(r)
fold: string.utf8(r) <- string.utf8.character.alpha() = string.utf8(re)
fold: string.utf8(re) <- string.utf8.character.alpha() = string.utf8(reg)
fold: string.utf8(reg) <- string.utf8.character.alpha() = string.utf8(rege)
fold: string.utf8(rege) <- string.utf8.character.alpha() = string.utf8(reget)
fold: string.utf8(reget) <- string.utf8.character.alpha() =
string.utf8(regetn)
fold: string.utf8(regetn) <- string.utf8.character.alpha() =
string.utf8(regetni)
fold: string.utf8(regetni) <- string.utf8.character.underscore() =
string.utf8(regetni_)
fold: string.utf8(regetni_) <- string.utf8.character.alpha() =
string.utf8(regetni_o)
fold: string.utf8(regetni_o) <- string.utf8.character.alpha() =
string.utf8(regetni_ot)
fold: string.utf8(regetni_ot) <- string.utf8(regetni_ot) =
string.utf8(to_integer)
prefold: <10: line 7, col 22> string.utf8.character.alpha (s)
prefold: <10: line 7, col 23> string.utf8 ()
prefold: <10: line 7, col 23> language.identifier ()
fold: string.utf8() <- string.utf8.character.alpha() = string.utf8(s)
fold: string.utf8(s) <- string.utf8(s) = string.utf8(s)
prefold: <9: line 7, col 23> language.function.parameter ()
prefold: <11: line 7, col 32> language.type.string ()
prefold: <7: line 7, col 32> language.function.parameters ()
prefold: <10: line 7, col 40> language.type.i32 ()
prefold: <9: line 7, col 40> language.function.return ()
prefold: <4: line 7, col 40> language.function.signature ()
prefold: <4: line 7, col 41> language.function.import ()
prefold: <3: line 8, col 7> language.keyword ()
prefold: <4: line 8, col 12> language.keyword ()
prefold: <5: line 8, col 13> string.utf8.character.alpha (i)
prefold: <6: line 8, col 14> string.utf8.character.alpha (n)
prefold: <6: line 8, col 15> string.utf8.character.alpha (p)
prefold: <6: line 8, col 16> string.utf8.character.alpha (u)
prefold: <6: line 8, col 17> string.utf8.character.alpha (t)
prefold: <5: line 8, col 18> string.utf8 ()
prefold: <5: line 8, col 18> language.identifier ()
fold: string.utf8() <- string.utf8.character.alpha() = string.utf8(t)
fold: string.utf8(t) <- string.utf8.character.alpha() = string.utf8(tu)
fold: string.utf8(tu) <- string.utf8.character.alpha() = string.utf8(tup)
fold: string.utf8(tup) <- string.utf8.character.alpha() = string.utf8(tupn)
fold: string.utf8(tupn) <- string.utf8.character.alpha() = string.utf8(tupni)
fold: string.utf8(tupni) <- string.utf8(tupni) = string.utf8(input)
prefold: <10: line 8, col 19> string.utf8.character.alpha (s)
prefold: <10: line 8, col 20> string.utf8 ()
prefold: <10: line 8, col 20> language.identifier ()
fold: string.utf8() <- string.utf8.character.alpha() = string.utf8(s)
fold: string.utf8(s) <- string.utf8(s) = string.utf8(s)
prefold: <9: line 8, col 20> language.function.parameter ()
prefold: <11: line 8, col 26> language.keyword ()
prefold: <10: line 8, col 26> language.function.parameter.direction.out ()
prefold: <12: line 8, col 33> language.type.string ()
prefold: <7: line 8, col 33> language.function.parameters ()
prefold: <4: line 8, col 34> language.function.signature ()
prefold: <4: line 8, col 35> language.function.import ()
prefold: <3: line 9, col 7> language.keyword ()
prefold: <4: line 9, col 12> language.keyword ()
prefold: <5: line 9, col 13> string.utf8.character.alpha (p)
prefold: <6: line 9, col 14> string.utf8.character.alpha (r)
prefold: <6: line 9, col 15> string.utf8.character.alpha (i)
prefold: <6: line 9, col 16> string.utf8.character.alpha (n)
prefold: <6: line 9, col 17> string.utf8.character.alpha (t)
prefold: <5: line 9, col 18> string.utf8 ()
prefold: <5: line 9, col 18> language.identifier ()
fold: string.utf8() <- string.utf8.character.alpha() = string.utf8(t)
fold: string.utf8(t) <- string.utf8.character.alpha() = string.utf8(tn)
fold: string.utf8(tn) <- string.utf8.character.alpha() = string.utf8(tni)
fold: string.utf8(tni) <- string.utf8.character.alpha() = string.utf8(tnir)
fold: string.utf8(tnir) <- string.utf8.character.alpha() = string.utf8(tnirp)
fold: string.utf8(tnirp) <- string.utf8(tnirp) = string.utf8(print)
prefold: <10: line 9, col 19> string.utf8.character.alpha (s)
prefold: <10: line 9, col 20> string.utf8 ()
prefold: <10: line 9, col 20> language.identifier ()
fold: string.utf8() <- string.utf8.character.alpha() = string.utf8(s)
fold: string.utf8(s) <- string.utf8(s) = string.utf8(s)
prefold: <9: line 9, col 20> language.function.parameter ()
prefold: <11: line 9, col 25> language.keyword ()
prefold: <10: line 9, col 25> language.function.parameter.direction.in ()
prefold: <12: line 9, col 32> language.type.string ()
prefold: <7: line 9, col 32> language.function.parameters ()
prefold: <4: line 9, col 33> language.function.signature ()
prefold: <4: line 9, col 34> language.function.import ()
prefold: <3: line 12, col 4> language.keyword ()
prefold: <4: line 12, col 7> language.keyword ()
prefold: <5: line 12, col 8> string.utf8.character.alpha (a)
prefold: <6: line 12, col 9> string.utf8.character.alpha (d)
prefold: <6: line 12, col 10> string.utf8.character.alpha (d)
prefold: <5: line 12, col 11> string.utf8 ()
prefold: <5: line 12, col 11> language.identifier ()
fold: string.utf8() <- string.utf8.character.alpha() = string.utf8(d)
fold: string.utf8(d) <- string.utf8.character.alpha() = string.utf8(dd)
fold: string.utf8(dd) <- string.utf8.character.alpha() = string.utf8(dda)
fold: string.utf8(dda) <- string.utf8(dda) = string.utf8(add)
prefold: <10: line 12, col 12> string.utf8.character.alpha (x)
prefold: <10: line 12, col 13> string.utf8 ()
prefold: <10: line 12, col 13> language.identifier ()
fold: string.utf8() <- string.utf8.character.alpha() = string.utf8(x)
fold: string.utf8(x) <- string.utf8(x) = string.utf8(x)
prefold: <9: line 12, col 13> language.function.parameter ()
prefold: <12: line 12, col 15> string.utf8.character.alpha (y)
prefold: <12: line 12, col 16> string.utf8 ()
prefold: <12: line 12, col 16> language.identifier ()
fold: string.utf8() <- string.utf8.character.alpha() = string.utf8(y)
fold: string.utf8(y) <- string.utf8(y) = string.utf8(y)
prefold: <11: line 12, col 16> language.function.parameter ()
prefold: <13: line 12, col 22> language.type.i32 ()
prefold: <7: line 12, col 22> language.function.parameters ()
prefold: <10: line 12, col 30> language.type.i32 ()
prefold: <9: line 12, col 30> language.function.return ()
prefold: <4: line 12, col 30> language.function.signature ()
prefold: <8: line 14, col 11> language.keyword ()
prefold: <13: line 14, col 12> string.utf8.character.alpha (x)
prefold: <13: line 14, col 13> string.utf8 ()
prefold: <13: line 14, col 13> language.identifier ()
fold: string.utf8() <- string.utf8.character.alpha() = string.utf8(x)
fold: string.utf8(x) <- string.utf8(x) = string.utf8(x)
prefold: <12: line 14, col 14> math.expression.operand ()
prefold: <15: line 14, col 16> string.utf8.character.alpha (y)
prefold: <15: line 14, col 17> string.utf8 ()
prefold: <15: line 14, col 17> language.identifier ()
fold: string.utf8() <- string.utf8.character.alpha() = string.utf8(y)
fold: string.utf8(y) <- string.utf8(y) = string.utf8(y)
prefold: <14: line 14, col 17> math.expression.operand ()
prefold: <10: line 14, col 15> math.operator.add ()
prefold: <9: line 14, col 17> math.expression ()
prefold: <9: line 14, col 18> language.function.return ()
prefold: <7: line 14, col 18> language.statement ()
prefold: <5: line 15, col 2> language.function.scope ()
prefold: <4: line 15, col 2> language.function ()
prefold: <3: line 16, col 4> language.keyword ()
prefold: <4: line 16, col 7> language.keyword ()
prefold: <5: line 16, col 8> string.utf8.character.alpha (f)
prefold: <6: line 16, col 9> string.utf8.character.alpha (i)
prefold: <6: line 16, col 10> string.utf8.character.alpha (b)
prefold: <5: line 16, col 11> string.utf8 ()
prefold: <5: line 16, col 11> language.identifier ()
fold: string.utf8() <- string.utf8.character.alpha() = string.utf8(b)
fold: string.utf8(b) <- string.utf8.character.alpha() = string.utf8(bi)
fold: string.utf8(bi) <- string.utf8.character.alpha() = string.utf8(bif)
fold: string.utf8(bif) <- string.utf8(bif) = string.utf8(fib)
prefold: <10: line 16, col 12> string.utf8.character.alpha (x)
prefold: <10: line 16, col 13> string.utf8 ()
prefold: <10: line 16, col 13> language.identifier ()
fold: string.utf8() <- string.utf8.character.alpha() = string.utf8(x)
fold: string.utf8(x) <- string.utf8(x) = string.utf8(x)
prefold: <9: line 16, col 13> language.function.parameter ()
prefold: <11: line 16, col 19> language.type.i32 ()
prefold: <7: line 16, col 19> language.function.parameters ()
prefold: <10: line 16, col 27> language.type.i32 ()
prefold: <9: line 16, col 27> language.function.return ()
prefold: <4: line 16, col 27> language.function.signature ()
prefold: <8: line 18, col 7> language.keyword ()
prefold: <17: line 18, col 9> string.utf8.character.alpha (x)
prefold: <17: line 18, col 10> string.utf8 ()
prefold: <17: line 18, col 10> language.identifier ()
fold: string.utf8() <- string.utf8.character.alpha() = string.utf8(x)
fold: string.utf8(x) <- string.utf8(x) = string.utf8(x)
prefold: <16: line 18, col 11> math.expression.operand ()
prefold: <13: line 18, col 11> math.expression ()
prefold: <12: line 18, col 11> boolean.expression.operand ()
prefold: <18: line 18, col 13> math.universal.number.digit (2)
prefold: <18: line 18, col 14> math.universal.number ()
prefold: <18: line 18, col 14> math.expression.operand ()
prefold: <15: line 18, col 14> math.expression ()
prefold: <14: line 18, col 14> boolean.expression.operand ()
prefold: <12: line 18, col 12> boolean.operator.relational.lessthan ()
prefold: <10: line 18, col 14> boolean.expression ()
prefold: <13: line 19, col 15> language.keyword ()
prefold: <17: line 19, col 16> math.universal.number.digit (1)
prefold: <17: line 19, col 17> math.universal.number ()
prefold: <17: line 19, col 17> math.expression.operand ()
prefold: <14: line 19, col 17> math.expression ()
prefold: <14: line 19, col 18> language.function.return ()
prefold: <12: line 19, col 18> language.statement ()
prefold: <11: line 19, col 18> logic.operator.if ()
prefold: <14: line 20, col 9> language.keyword ()
prefold: <16: line 21, col 15> language.keyword ()
prefold: <21: line 21, col 16> string.utf8.character.alpha (a)
prefold: <22: line 21, col 17> string.utf8.character.alpha (d)
prefold: <22: line 21, col 18>
Ian Collins <ian-news@hotmail.com>: May 25 02:26PM +1200

> 5. Denying ISO's authority to publish a standard containing such rules.
> 6. Denying that the C standard's explicit statement that such code has undefined behavior justifies implementations failing to give it the behavior that you think it should have.
> 7. Other - please explain.
 
Trolling?
 
--
Ian.
Robert Wessel <robertwessel2@yahoo.com>: May 24 10:59PM -0500

On Wed, 22 May 2019 18:09:11 GMT, scott@slp53.sl.home (Scott Lurndal)
wrote:
 
>architectures (a la 80286).
 
>I can't address future processor vendor work in this area without violating non-disclosure
>agreements, unfortunatly.
 
 
The old DG Eclipse/MV line had larger char and void pointers than
pointers to other types. A number of machines have had rather
different representations for char/void and other types of pointers.
The HP3000 and some of the early Crays are examples. Usually this was
an artifact of word addressed machines, and for byte pointers, a byte
offset had to be stored someplace.
Stuart Redmann <DerTopper@web.de>: May 25 04:52PM +0200

> 2147483647
> Program terminated because of uncaught exception: numeric overflow in
> 'a++;' with a=2147483647.
 
+1
 
Stuart
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com.

No comments: