Re: Release D 2.101.0

2022-12-03 Thread SHOO via Digitalmars-d-announce

On Sunday, 27 November 2022 at 19:09:16 UTC, torhu wrote:
On Wednesday, 16 November 2022 at 01:21:12 UTC, rikki 
cattermole wrote:
Yeah, you'll want to use dustmite. Hopefully the project isn't 
too big.


I haven't figured out how to use DustMite, but the error goes 
away when I compile one file at a time, for some reason.


Have you analyzed the phenomenon that failed with exit code 
-1073741795?
I also found a project with the same problem, it's called 
Phobos...


Here is a the last few lines of the detailed log (debug build and 
`-v` option enabled) with building Phobos:

```
...
...
...
function  std.datetime.timezone.PosixTimeZone.utcToTZ
function  std.datetime.timezone.PosixTimeZone.tzToUTC
function  std.datetime.timezone.PosixTimeZone.getTimeZone
symbol 01F8F0EFE160 '__context'
  Sclass = SCbprel  Ssymnum = 4 Sfl = FLbprel  Sseg = 0
 Soffset = xffec Sweight = 0 Sflags = x20004 Sxtrnnum 
= 0
  Stype   = 01F8F0D2B5F0 Sl  =  Sr  = 

Tty=mTYvolatile|TYint Tmangle=1 Tflags=x0 Tcount=1 Tsize=4 
Tnext=

Assertion failed: 0, file src\dmd\backend\inliner.d, line 404

-1073740791
```

In this example, the error code seems to have changed, perhaps 
due to a debug build.


Re: Cushion the state transition table library released

2019-06-27 Thread SHOO via Digitalmars-d-announce

On Wednesday, 26 June 2019 at 15:20:45 UTC, ag0aep6g wrote:

On 26.06.19 16:01, SHOO wrote:

GitHub: https://github.com/shoo/cushion


You've got bad `@trusted`s.

Quoting from there:

pragma(inline) T trustedCast(T, Arg)(Arg arg) @trusted
{
return cast(T)arg;
}

[...]

No.


Thank you for your technical review.
You can report new issues on GitHub: 
https://github.com/shoo/cushion/issues
Or, you may also create a pull request: 
https://github.com/shoo/cushion/pulls


Cushion the state transition table library released

2019-06-26 Thread SHOO via Digitalmars-d-announce
Cushion is a library for managing state transition by state 
transition table design.
This library parses CSV format tabular file described the design 
of states passed by string import and generates D language code. 
It can be used with string mixin.


It may be useful if you are dealing with a program that changes 
behavior depending on the state.


Thanks!

DUB: https://code.dlang.org/packages/cushion
GitHub: https://github.com/shoo/cushion