Re: Dfix

2014-06-14 Thread Stefan Koch via Digitalmars-d-announce
As it happens I am writing a kind of DFIX on top of DScanner right at the moment. There are a few details to sort out. But I should have some small demo pretty soon. Regrards, Stefan

Re: Lang.NEXT panel (dfix)

2014-06-16 Thread Stefan Koch via Digitalmars-d-announce
What's keeping us from having such a tool? It seems that after one has a decent parser (that also keeps tracks of the source ranges of AST nodes), it's easy to write code that does syntactic modifications and then rewrites the source code. And there's several D parsers out there already - so

Re: Lang.NEXT panel (dfix)

2014-06-16 Thread Stefan Koch via Digitalmars-d-announce
DSL?! You crazy bro? If you are using DScanner, just let people use D itself to write their own custom AST transformation code. With DUB it should be super easy to compile that code and run it on the target D code. This solution is vastly more simple than inventing your own DSL, and scales

Re: Lang.NEXT panel (dfix)

2014-06-20 Thread Stefan Koch via Digitalmars-d-announce
On Thursday, 19 June 2014 at 21:28:28 UTC, Brian Schott wrote: On Thursday, 19 June 2014 at 20:37:48 UTC, Stefan Koch wrote: hmm well all string-mixins life at compile-time. So one can print them out at runtime. Dump the source and put it into the AST. Same for the results of static if, and

SDC-32bit

2014-07-29 Thread Stefan Koch via Digitalmars-d-announce
Hello, I am happy to announce that my 32bit version of sdc compiles the whole testsuite including mixins. the only there are only 6 tests still failing 2 of them are dependent on size_t.siezof beeing 8. The otherer 4 have to do with execptoion handling. please check out the 32-branches on

Re: SDC-32bit

2014-07-29 Thread Stefan Koch via Digitalmars-d-announce
On Tuesday, 29 July 2014 at 13:36:39 UTC, Stefan Koch wrote: Hello, the only there are only 6 tests still failing 2 of them are dependent on size_t.siezof beeing 8. Correction I fixed the tests for 32bit only 4 tests are failing all of them due to Execptions

Re: SDC-32bit

2014-07-29 Thread Stefan Koch via Digitalmars-d-announce
On Tuesday, 29 July 2014 at 14:22:43 UTC, ketmar via Digitalmars-d-announce wrote: On Tue, 29 Jul 2014 13:36:37 + Stefan Koch via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: wow. Well thanks. please give me feedback if you are using it. In the next days i'm going

Re: SDC-32bit

2014-07-30 Thread Stefan Koch via Digitalmars-d-announce
On Tuesday, 29 July 2014 at 18:58:50 UTC, UplinkCoder wrote: Sorry I think i messed up with my github branches. until i get it straightend out you can get my local working source verbatim from http://www42.zippyshare.com/v/4371099/file.html I modified the sdc to produce 32bit code if the -m32

Re: SDC-32bit

2014-07-30 Thread Stefan Koch via Digitalmars-d-announce
make that I have now setup a repo with my 32bit sdc source. https://github.com/UplinkCoder/sdc32-experimental There are NO submodules I dump my source straight in there. cloning it and calling make should be enough.

Re: SDC-32bit

2014-08-01 Thread Stefan Koch via Digitalmars-d-announce
hmm it looks like you are not linking llvm in ... do you use the most recent version from my sdc32-experimental repo ? please not that the dub build is broken because i can't get the link order right. so you have to `make` it :D

Re: SDC-32bit

2014-08-01 Thread Stefan Koch via Digitalmars-d-announce
please do `git pull` and if the error presists post the full error-message on dpaste or similar.

Re: SDC-32bit

2014-08-01 Thread Stefan Koch via Digitalmars-d-announce
Are you on a 64bit system ? my makesfiles are hardcoded to use -m32 so I guess it will not link with 64bit libs

Re: SDC-32bit

2014-08-01 Thread Stefan Koch via Digitalmars-d-announce
On Friday, 1 August 2014 at 15:26:08 UTC, ketmar via Digitalmars-d-announce wrote: yes, just cloned it before sending report. commit 34fdd6a73e6137173a3840218a76dfd2f6c50d68 Hmm I can't find commit 34fdd6a73e6137173a3840218a76dfd2f6c50d68 ... it must have a commit I have squashed. I do this

Re: SDC-32bit

2014-08-01 Thread Stefan Koch via Digitalmars-d-announce
On Friday, 1 August 2014 at 15:46:14 UTC, ketmar via Digitalmars-d-announce wrote: On Fri, 01 Aug 2014 15:33:05 + Stefan Koch via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: please do `git pull` and if the error presists post the full error-message on dpaste

Re: SDC-32bit

2014-08-01 Thread Stefan Koch via Digitalmars-d-announce
I can say it has nothing todo with llvm (so far)

Re: SDC-32bit

2014-08-01 Thread Stefan Koch via Digitalmars-d-announce
On Friday, 1 August 2014 at 16:31:49 UTC, ketmar via Digitalmars-d-announce wrote: On Fri, 01 Aug 2014 15:54:42 + Stefan Koch via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: AFAICS this it because you are using dmd-master if it fails with the dmd-2.065 then I have

Re: SDC-32bit

2014-08-01 Thread Stefan Koch via Digitalmars-d-announce
Next time you might want to use my jsonRunner it runs 7.5x times faster than the old one :D thogh it needs a bit more work enableing multihtreading and such

Re: SDC-32bit

2014-08-01 Thread Stefan Koch via Digitalmars-d-announce
first run time ./runner and then run sh buildTester.sh ./convtest and then time ./jsonRunner i am intressted in your timings runner d envokes the sdc binary while jsonRunner is linked with sdc

Re: SDC-32bit

2014-08-01 Thread Stefan Koch via Digitalmars-d-announce
On Friday, 1 August 2014 at 22:44:48 UTC, ketmar via Digitalmars-d-announce wrote: On Sat, 2 Aug 2014 01:37:33 +0300 ketmar via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: damn, it's hard to switch between two dmds. ok, i compiled everything, here's the timings:

Re: SDC-32bit

2014-08-03 Thread Stefan Koch via Digitalmars-d-announce
On Saturday, 2 August 2014 at 22:48:35 UTC, Shammah Chancellor wrote: On 2014-08-01 05:00:53 +, deadalnix said: On Tuesday, 29 July 2014 at 13:36:39 UTC, Stefan Koch wrote: Hello, I am happy to announce that my 32bit version of sdc compiles the whole testsuite including mixins. the only

Re: SDC-32bit

2014-08-03 Thread Stefan Koch via Digitalmars-d-announce
On Sunday, 3 August 2014 at 11:37:26 UTC, John Colvin wrote: On Sunday, 3 August 2014 at 11:19:01 UTC, Stefan Koch wrote: On Saturday, 2 August 2014 at 22:48:35 UTC, Shammah Chancellor wrote: On 2014-08-01 05:00:53 +, deadalnix said: On Tuesday, 29 July 2014 at 13:36:39 UTC, Stefan Koch

Re: SDC-32bit

2014-08-03 Thread Stefan Koch via Digitalmars-d-announce
On Sunday, 3 August 2014 at 11:31:10 UTC, ketmar via Digitalmars-d-announce wrote: On Fri, 01 Aug 2014 15:49:09 + Stefan Koch via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: it must have a commit I have squashed. I do this quite often since sometimes I commit stuff

Re: SDC-32bit

2014-08-05 Thread Stefan Koch via Digitalmars-d-announce
On Tuesday, 5 August 2014 at 11:56:28 UTC, Shammah Chancellor wrote: On 2014-08-04 04:19:01 +, deadalnix said: On Saturday, 2 August 2014 at 22:48:35 UTC, Shammah Chancellor wrote: Also, it looks by using your fiber based scheduler that you can naturally parallize compiling. Have you

Re: SDC-32bit

2014-08-06 Thread Stefan Koch via Digitalmars-d-announce
On Friday, 1 August 2014 at 23:16:45 UTC, Stefan Koch wrote: jsonRunner really runs fast ... io overhead really makes a diffrence Correction I just checked the old runner and I found out the following: sdc runs 7.5 times faster if all sourceFiles are compiled together. (as dub does) the

Re: SDC-32bit

2014-10-05 Thread Stefan Koch via Digitalmars-d-announce
I just updated my fork. https://github.com/UplinkCoder/sdc32-experimental * test0037 passes now meaning that alias works in more cases * I implemented foreach for Arrays though since ArrayLiterals are currently not supported this is not too helpful.

Re: SDC-32bit

2014-10-06 Thread Stefan Koch via Digitalmars-d-announce
Updated fork again. -m32 and -m64 switches work properly now. sdc32 uses a the same default outputFile as dmd does. Soon to come : - ArrayLiterals In planning : - a new backend ;D - Source-to-Source transformations

Re: Searching for a tool to use D for web development with Apache

2014-10-12 Thread Stefan Koch via Digitalmars-d-announce
You should check www.vibed.org And next time please post questions in D.learn

Re: SDC-32bit

2014-10-17 Thread Stefan Koch via Digitalmars-d-announce
On Friday, 17 October 2014 at 10:39:15 UTC, Temtaime wrote: New backend why ? Because I want to code a backend. I want output C or maybe even Cool ... generating UML via a backend would also be nice.

Re: SDC-32bit

2014-10-18 Thread Stefan Koch via Digitalmars-d-announce
On Saturday, 18 October 2014 at 09:29:10 UTC, Suliman wrote: What's benefits this would give? apart from the hack-factor a backend that generates _nice_ C-code is a really usefil thing to have. For example if you want to program microcontrollers in D.

Re: German D Community?

2014-12-01 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 1 December 2014 at 09:17:42 UTC, trgy wrote: Hello, is there a german D community? I cannot find a forum/wiki or something else. I hope you can help me. :) Thanks in advance. Best regards trgy There is a german community. Most of them are here :) As far as I know there is no

Re: German D Community?

2014-12-01 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 1 December 2014 at 09:38:35 UTC, trgy wrote: Thank you for this information. Would nobody of the german community prefer to have a forum/wiki in german? Best regards trgy If you want one, go ahead and create one. Though a german forum would most likely be quite small. just look at

[OT?] C compiler written form scratch in D

2014-12-07 Thread Stefan Koch via Digitalmars-d-announce
Hello, I'd like to announce that I am going to be writing a C-compiler in D. Without flex or bison or anything like that. Just pure handwritten D. I will shoot videos of my progress, and I will explain how a compiler really works. If you think that is like HandmadeHero you are right! Caseys

Re: [OT?] C compiler written form scratch in D

2014-12-07 Thread Stefan Koch via Digitalmars-d-announce
On Sunday, 7 December 2014 at 20:17:30 UTC, MattCoder wrote: On Sunday, 7 December 2014 at 19:13:42 UTC, Stefan Koch wrote: Please tell me what you think if that announcement, and feel free to ask anything you like. Nice and some useful links:

Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 8 December 2014 at 11:08:36 UTC, Shriramana Sharma via Digitalmars-d-announce wrote: Please do post updates here. I think it would be a great show-casing of D's capabilities. Just a suggestion and I may be totally off mark here, but will you have it directly output machine code? Or

Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Stefan Koch via Digitalmars-d-announce
First two videos are up think of them as beta quality! https://www.youtube.com/watch?v=aeBSsuCCRFo and https://www.youtube.com/watch?v=crQk929crCE

Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 8 December 2014 at 17:26:59 UTC, John Colvin wrote: On Monday, 8 December 2014 at 16:28:24 UTC, Stefan Koch wrote: First two videos are up think of them as beta quality! https://www.youtube.com/watch?v=aeBSsuCCRFo and https://www.youtube.com/watch?v=crQk929crCE The quality is

Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 8 December 2014 at 21:04:17 UTC, John wrote: On Monday, 8 December 2014 at 19:35:54 UTC, Stefan Koch wrote: think of them as beta quality! You may have to either pause when you need to cough and sneeze or just edit that out. I am interested in this topic but the horrible

Re: [OT?] C compiler written form scratch in D

2014-12-09 Thread Stefan Koch via Digitalmars-d-announce
On Tuesday, 9 December 2014 at 07:58:51 UTC, Iain Buclaw via Digitalmars-d-announce wrote: On 9 Dec 2014 07:00, Stefan Koch via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Monday, 8 December 2014 at 21:04:17 UTC, John wrote: On Monday, 8 December 2014 at 19:35:54

Re: [OT?] C compiler written form scratch in D

2014-12-09 Thread Stefan Koch via Digitalmars-d-announce
On Tuesday, 9 December 2014 at 08:10:14 UTC, Iain Buclaw via Digitalmars-d-announce wrote: On 9 Dec 2014 00:50, deadalnix via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Monday, 8 December 2014 at 15:44:55 UTC, Stefan Koch wrote: I want to do a C backend first.

Re: [OT?] C compiler written form scratch in D

2014-12-09 Thread Stefan Koch via Digitalmars-d-announce
On Tuesday, 9 December 2014 at 10:55:24 UTC, Robert M. Münch wrote: On 2014-12-07 19:13:41 +, Stefan Koch said: I'd like to announce that I am going to be writing a C-compiler in D. Without flex or bison or anything like that. Just pure handwritten D. Hi, how about using PEG for parsing

Re: [OT?] C compiler written form scratch in D

2014-12-10 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 10 December 2014 at 13:02:43 UTC, Tobias Pankrath wrote: I will use a handwritten recursive decent parser. Since that is what I deem the easiest thing to do. Take a look at the std.lexer proposal first. Thanks for your suggestion. In fact, I know and like std.lexer. But this

Re: [OT?] C compiler written form scratch in D

2014-12-11 Thread Stefan Koch via Digitalmars-d-announce
On Thursday, 11 December 2014 at 15:02:02 UTC, Tobias Pankrath wrote: I didn't want to suggest to use std.lexer, but to showcase the nice compile time tricks it employs, e.g. the generation of a Trie at compile time. std.lexer is awesome, no doubt about it! But it is not in the scope of

Re: [OT?] C compiler written form scratch in D

2014-12-11 Thread Stefan Koch via Digitalmars-d-announce
I will start uploading official videos at Monday. If you are interested in qcc please join me in irc. server : irc.freenode.net channel : #qcc

Re: [OT?] C compiler written form scratch in D

2014-12-15 Thread Stefan Koch via Digitalmars-d-announce
New videos are online :) part 1: https://www.youtube.com/watch?v=_YAUfd41URA part 2: https://www.youtube.com/watch?v=RGLgiPhwskM please give me feedback in this thread

Re: [OT?] C compiler written form scratch in D

2014-12-16 Thread Stefan Koch via Digitalmars-d-announce
please tell me what concepts you would like to have explained. perhaps I should do a live-stream for QA maybe ?

Re: C# to D Compiler :)

2014-12-18 Thread Stefan Koch via Digitalmars-d-announce
On Thursday, 18 December 2014 at 23:56:54 UTC, Ronald Adonyo wrote: Hi Everyone, In my spare time over the last 3 weeks, I've been working on a C# to D Compiler based on Roslyn. Please check it out and give comments. I would also like this to be a basis to provide both Libraries in D and allow

Re: [OT?] C compiler written form scratch in D

2014-12-21 Thread Stefan Koch via Digitalmars-d-announce
New videos are comeing soon :) Topics : Intro to compilers Parseing and the AsT Identifier-resolution and scope

Re: Facebook is using D in production starting today

2014-12-22 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 22 December 2014 at 12:12:19 UTC, FrankLike wrote: D is useful ,now I use the dfl2(https://github.com/FrankLIKE/dfl2/)and the build tool dco (https://github.com/FrankLIKE/dco/),very good. Frank Do you work for Facebook ?

Re: quick-and-dirty minimalistic LISP engine

2015-02-18 Thread Stefan Koch via Digitalmars-d-announce
Oh boy. the source is messy ...

Re: Packt is looking for someone to author a Learning D

2015-02-14 Thread Stefan Koch via Digitalmars-d-announce
On Saturday, 14 February 2015 at 16:25:30 UTC, Adam D. Ruppe wrote: I got an email from the publisher of my D Cookbook asking me to write another book on D. From their email: We have recently commissioned a book on D, titled ' Learning D '. This book will have approximately 400 pages and and

Re: Deadcode on github

2015-03-19 Thread Stefan Koch via Digitalmars-d-announce
Ahh, you got my message :) Thank you very much for opening this! I'll build a nice sdc-related plugin shortly. Thumbs up!

Re: SDC-32bit

2015-03-21 Thread Stefan Koch via Digitalmars-d-announce
On Friday, 20 March 2015 at 17:20:36 UTC, Laeeth Isharc wrote: How about Javascript or JSASM? So we can write D on the browser? You mean asm.js. I will hook up emscripten soon. However the biggest issue is porting the runtime to javascript.

updated SDC-32bit again

2015-03-19 Thread Stefan Koch via Digitalmars-d-announce
My sdc32-experimental has now limited support for : * foreach on forward-ranges * inference of purity * checking the returnType of main currently it CANNOT generate 32bit code anymore ...

Re: dfmt 0.1.0

2015-03-06 Thread Stefan Koch via Digitalmars-d-announce
On Friday, 6 March 2015 at 09:39:13 UTC, Walter Bright wrote: On 3/5/2015 1:04 AM, Russel Winder via Digitalmars-d-announce wrote: It would be good if the D implemented D parser were though. Parsing to create an AST is needed for many things. If each tool in the tool chain implements it's

Re: On fonts and editors [was dfmt 0.1.0]

2015-03-07 Thread Stefan Koch via Digitalmars-d-announce
On Saturday, 7 March 2015 at 07:20:01 UTC, Russel Winder wrote: They are hamstrung by the continued obsession with the text file as the primary unit of editing. As soon as they and programmer users get over this, the sooner we can get on with better UX for development. I agree.

Re: dfmt 0.1.3 (codename: yebblied)

2015-03-08 Thread Stefan Koch via Digitalmars-d-announce
On Sunday, 8 March 2015 at 08:51:20 UTC, Brian Schott wrote: https://github.com/Hackerpilot/dfmt/releases/tag/v0.1.3 dfmt is a source code formatter for D. v0.1.3 fixes 34 issues from v0.1.2. The codename is inspired by somebody who may or may not* have filed 45 Github issues, 20 of them in

FancyPars

2015-07-02 Thread Stefan Koch via Digitalmars-d-announce
Small announcement. I uploaded my parser-generator onto github. It is work in progress and unfinished! I cannot continue working on it anymore. Because it is quite idiomatic D-code. I hope that it will be suitable to beginners. Unfortunately I will not be available to take any questions.

Re: FancyPars

2015-07-16 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 6 July 2015 at 09:22:51 UTC, Per Nordlöw wrote: On Thursday, 2 July 2015 at 14:25:09 UTC, Stefan Koch wrote: Small announcement. I uploaded my parser-generator onto github. It is work in progress and unfinished! How does its design and use differ from Pegged? The use does not

Re: FancyPars

2015-09-06 Thread Stefan Koch via Digitalmars-d-announce
On Sunday, 6 September 2015 at 20:23:40 UTC, Bastiaan Veelo wrote: However, 2.0.66.2 does not seem to exist [1,2]. Am I overlooking something? Ahh yeah it should be 2.066.1 Thanks for catching that

Re: FancyPars

2015-09-05 Thread Stefan Koch via Digitalmars-d-announce
On Thursday, 2 July 2015 at 14:25:09 UTC, Stefan Koch wrote: I cannot continue working on it anymore. Nontheless an unexpected update that makes FancyPars more Feature-complete than than Pegged. I addded simplistic Left Recursion handling... but the code is a mess :(

Re: FancyPars

2015-09-16 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 14 September 2015 at 08:50:48 UTC, Bastiaan Veelo wrote: Understanding the source of FancyPars is challenging because the core source, example vibe.d application source and supporting code, as well as generated lexer/parser code are all contained in the same directory and

Re: FancyPars

2015-09-17 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 16 September 2015 at 12:16:03 UTC, Bastiaan Veelo wrote: Sounds like you want to share this, but I can't find a licence. In case this turns out to be useful, we would need one :-) If you want I can prepare a PR for that, just let me know which licence to pick. Best,

Re: FancyPars

2015-09-17 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 16 September 2015 at 21:25:40 UTC, Bastiaan Veelo wrote: Thanks. At first I thought that fancy_[ast|token|lexer|parser|printer].d were generated files because their content is so similar to the code produced in the vibe application. But on closer look I think it is the other

Re: FancyPars

2015-09-17 Thread Stefan Koch via Digitalmars-d-announce
On Thursday, 17 September 2015 at 16:02:14 UTC, John Colvin wrote: Yikes. Are you sure? Are you familiar with open source licensing? I would be open to open-source the "base" of fp. but keeping certin extentions for grammar analysis closed. What license would you suggest for that.

Re: FancyPars

2015-09-17 Thread Stefan Koch via Digitalmars-d-announce
On Thursday, 17 September 2015 at 16:55:42 UTC, John Colvin wrote: Assuming you wrote it all, you can license the code in whatever way you want. See http://choosealicense.com for more info. You can even use multiple licenses, or different licenses for different parts of the code. Hmm

Re: FancyPars

2015-09-18 Thread Stefan Koch via Digitalmars-d-announce
On Friday, 18 September 2015 at 06:13:24 UTC, Rory McGuire wrote: I for one will have to delete everything I have on FancyPars and avoid, because I mix work and pleasure all the time, and I have no time in my life for lawyers, life is too short. No worries! I will not sue anyone! of any

Re: IAP Tools for D

2015-12-16 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 16 December 2015 at 11:06:21 UTC, Jakob Jenkov wrote: Sounds like an interesting thing. I will lend a hand. Great! We probably won't get started until January, as we have some documentation work to do on the Java library still, and some more systematic benchmarks to run etc. We

Re: IAP Tools for D

2015-12-16 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 16 December 2015 at 10:08:14 UTC, Jakob Jenkov wrote: If you hop onto IRC #d Freenode, there maybe somebody from time to time that can give you a hand. Or at worst help solve some of your problems. Thanks! Oh, I forgot to tell that the IAP Tools for D library will be open

Re: pl0stuff an optimizing pl0 > c transcompiler

2015-12-29 Thread Stefan Koch via Digitalmars-d-announce
On Tuesday, 29 December 2015 at 04:37:44 UTC, Nick B wrote: Would you know what is required to get good performance ? I can guess. However without actually implementing it my guess is as good as any. I would probably look at HHVM, and see what is easy to reimplement in D.

Re: pl0stuff an optimizing pl0 > c transcompiler

2015-12-30 Thread Stefan Koch via Digitalmars-d-announce
On Tuesday, 29 December 2015 at 22:13:44 UTC, Nick B wrote: So the best approach, if I understand you correctly, would be to perform micro-benchmarks on new code that is either D code (with a variety of algorithms and/or vibe.d framework code) or HHVM 64 bit code, and compare (and publish)

pl0stuff an optimizing pl0 > c transcompiler

2015-12-27 Thread Stefan Koch via Digitalmars-d-announce
Hello again. I'd like to announce a simple pl0 trans-compiler. https://github.com/UplinkCoder/pl0stuff with my parser generator it took me about 3 hours to get the compiler running. The implemented optimizations are * function-call-inclining * nested-block-simplification, *

Re: pl0stuff an optimizing pl0 > c transcompiler

2015-12-28 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 28 December 2015 at 10:45:59 UTC, Nick B wrote: what languages do you plan to support for input and output ? I just planned on PL/0 as input and C as output. It is a simple one-pass (okay 2 pass if you count the optimizer) trans-compilation. There is no middle-end. And very

Re: pl0stuff an optimizing pl0 > c transcompiler

2015-12-28 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 28 December 2015 at 23:40:31 UTC, Nick B wrote: On Monday, 28 December 2015 at 16:41:30 UTC, Stefan Koch wrote: On Monday, 28 December 2015 at 10:45:59 UTC, Nick B wrote: what languages do you plan to support for input and output ? I just planned on PL/0 as input and C as output.

Re: Battle-plan for CTFE

2016-06-03 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 9 May 2016 at 16:57:39 UTC, Stefan Koch wrote: I will post more details as soon as I dive deeper into the code. Okay I briefly evaluated the current IR dmd uses for backend communication, and it seems usable for the purposes of a CTFE-Interpreter/JIT. The Memory-Management

Recursive SymbolNames solved.

2016-06-08 Thread Stefan Koch via Digitalmars-d-announce
Hi, I solved the issue. PR is coming shortly.

Re: Battle-plan for CTFE

2016-06-07 Thread Stefan Koch via Digitalmars-d-announce
On Friday, 3 June 2016 at 15:46:27 UTC, Stefan Koch wrote: On Monday, 9 May 2016 at 16:57:39 UTC, Stefan Koch wrote: I will post more details as soon as I dive deeper into the code. Okay I briefly evaluated the current IR dmd uses for backend communication, and it seems usable for the

Re: Berlin D Meetup June 2016

2016-06-10 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 8 June 2016 at 16:31:47 UTC, Ben Palmer wrote: Hi All, The June Berlin D Meetup will be happening at 20:00 (note new time) on Friday the 17th of June at Berlin Co-Op (http://co-up.de/) on the fifth floor. Danny Arends will be giving a more detailed version of his lightning

Re: Fast Deterministic Selection

2016-06-03 Thread Stefan Koch via Digitalmars-d-announce
On Friday, 3 June 2016 at 12:27:13 UTC, Andrei Alexandrescu wrote: I just put a pre-publication draft of a paper on a new algorithm for the selection problem. I'll submit an implementation to D's standard library in the near future. http://arxiv.org/pdf/1606.00484v1.pdf

Re: SQLite-D alpha is here

2016-05-25 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 06:52:22 UTC, Suliman wrote: Even faster then official version? What about futures, would it possible to make it's 100% compatibility with C version? Not really. The reason why it is faster is because there is no indirection in working with the data. If I had

Re: SQLite-D alpha is here

2016-05-24 Thread Stefan Koch via Digitalmars-d-announce
On Saturday, 27 February 2016 at 16:08:21 UTC, Stefan Koch wrote: Hello, I am happy to announce the official alpha version of sqlite-d! sqlite-d is a reader for the SQLite File Format 3. In the future I will implement a SQL-like API on top of it. Top-notch performance is one of the explicit

Re: SQLite-D alpha is here

2016-05-25 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 03:48:48 UTC, Stefan Koch wrote: This project is currently on the back burner. However in the next days there will be another significant performance improvement :) A 20% performance improvement has landed in master! It is possible that there are more places in

Re: Battle-plan for CTFE

2016-05-28 Thread Stefan Koch via Digitalmars-d-announce
On Friday, 27 May 2016 at 23:31:24 UTC, Stefan Koch wrote: On Monday, 9 May 2016 at 16:57:39 UTC, Stefan Koch wrote: Hi Guys, I have been looking into the DMD now to see what I can do about CTFE. I will post more details as soon as I dive deeper into the code. Update : int bug6498(int x)

Re: C++ to D converter based on clang

2016-05-28 Thread Stefan Koch via Digitalmars-d-announce
On Saturday, 28 May 2016 at 11:02:37 UTC, Loïc HAMOT wrote: Hello, I am working on a C++ to D converter. The project is opensource, on github : https://github.com/lhamot/CPP2D [...] Interesting!

Re: Berlin D Meetup June 2016

2016-06-10 Thread Stefan Koch via Digitalmars-d-announce
On Friday, 10 June 2016 at 14:40:41 UTC, Ali Çehreli wrote: On 06/10/2016 05:11 AM, Stefan Koch wrote: On Wednesday, 8 June 2016 at 16:31:47 UTC, Ben Palmer wrote: Danny Arends will be giving a more detailed version of his lightning talk he gave at the D conference on his web server,

Re: Berlin D Meetup June 2016

2016-06-13 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 8 June 2016 at 16:31:47 UTC, Ben Palmer wrote: Hi All, The June Berlin D Meetup will be happening at 20:00 (note new time) on Friday the 17th of June at Berlin Co-Op (http://co-up.de/) on the fifth floor. Danny Arends will be giving a more detailed version of his lightning

Re: Button: A fast, correct, and elegantly simple build system.

2016-06-15 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 15 June 2016 at 05:42:21 UTC, Jason White wrote: On Monday, 13 June 2016 at 20:12:27 UTC, Walter Bright wrote: On 6/12/2016 4:27 PM, Jason White wrote: I don't understand this dependency-phobia. It's the "first 5 minutes" thing. Every hiccup there costs us maybe half the

Re: Recursive SymbolNames solved.

2016-06-08 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 8 June 2016 at 13:28:19 UTC, Stefan Koch wrote: Hi, I solved the issue. PR is coming shortly. Solution is as follows: Keep a list of already visited symbols in the mangler. And information where we store the mangle. meaning the position in the mangle string. If a symbol is

Re: D Embedded Database v0.1 Released

2016-05-31 Thread Stefan Koch via Digitalmars-d-announce
On Saturday, 28 May 2016 at 14:08:18 UTC, Piotrek wrote: Short description A database engine for quick and easy integration into any D program. Full compatibility with D types and ranges. Design Goals (none is accomplished yet) - ACID - No external dependencies - Single file

Re: SQLite-D alpha is here [did it mention it works at CTFE]

2016-05-27 Thread Stefan Koch via Digitalmars-d-announce
On Friday, 27 May 2016 at 07:08:30 UTC, Stefan Koch wrote: On Friday, 27 May 2016 at 05:12:33 UTC, Stefan Koch wrote: There is a locking mechanism in SQLite-proper. However SQLite-D currently makes no attempt in looking for the lock-page. Opps I was wrong :) The Lock-page has nothing todo

Re: Battle-plan for CTFE

2016-05-27 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 9 May 2016 at 16:57:39 UTC, Stefan Koch wrote: Hi Guys, I have been looking into the DMD now to see what I can do about CTFE. I will post more details as soon as I dive deeper into the code. Update : int bug6498(int x) { int n = 0; while (n < x) ++n; return

Re: SQLite-D alpha is here

2016-05-26 Thread Stefan Koch via Digitalmars-d-announce
On Thursday, 26 May 2016 at 14:45:58 UTC, Suliman wrote: Could you explain more details? What do you mean by indirection work with data? Sure, I can explain. So, all that sqlite-d does is reading the sqlite-db files. However the proper sqlite does much more: It implements a whole

Re: SQLite-D alpha is here

2016-05-26 Thread Stefan Koch via Digitalmars-d-announce
On Thursday, 26 May 2016 at 19:35:22 UTC, Suliman wrote: Oh! Look like for all time I misunderstood the purpose of your project. Do you mean that your tool is created not for being SQL compatible driver, but make possible to use D code for iteration with DB? Yes and no, currently it does

Re: SQLite-D alpha is here

2016-05-26 Thread Stefan Koch via Digitalmars-d-announce
On Friday, 27 May 2016 at 05:03:43 UTC, xenon325 wrote: For example, I have one thread with traditional (slow) SQLite client, which seldom updates data. And another thread which reads data with sqlite-d. Will not program crash or read trash/inconsistent data ? sqlite-d provides no safety

Re: SQLite-D alpha is here

2016-05-27 Thread Stefan Koch via Digitalmars-d-announce
On Friday, 27 May 2016 at 05:12:33 UTC, Stefan Koch wrote: There is a locking mechanism in SQLite-proper. However SQLite-D currently makes no attempt in looking for the lock-page. Opps I was wrong :) The Lock-page has nothing todo with threading :)

Re: D Embedded Database v0.1 Released

2016-06-01 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 1 June 2016 at 16:03:09 UTC, Piotrek wrote: On Wednesday, 1 June 2016 at 09:41:43 UTC, Stefan Koch wrote: Providing a nice query interface and so on. Do you mean any form of DSL (as it's SQL for SQLite)? I hope to get by without a DSL. And instead to something nice with UFCS.

Re: D Embedded Database v0.1 Released

2016-06-01 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 1 June 2016 at 05:45:49 UTC, Piotrek wrote: On Tuesday, 31 May 2016 at 22:08:00 UTC, Stefan Koch wrote: Nice effort. How would you like collaboration with the SQLite-D project. Thanks. Correct me if I'm wrong but SQLite-D is a compile time SQLite3 file reader. If so, I can

SQLite-D goes beta!

2016-05-30 Thread Stefan Koch via Digitalmars-d-announce
It is my pleasure to announce that I now consider SQLite-D to be in Beta stage. The reader is now stable enough to read all the test tables I have been given. The fact that it took around 20 minutes to complete index-tree support convinced mt that I have chosen a solid design. I have

Re: SQLite-D alpha is here [did it mention it works at CTFE]

2016-05-29 Thread Stefan Koch via Digitalmars-d-announce
Support for reading Index-Trees and there(WITHOUT ROWID) tables, has landed in master! Now the real fun can start. CTFE Query translation and optimization.

Re: Battle-plan for CTFE

2016-05-27 Thread Stefan Koch via Digitalmars-d-announce
On Saturday, 21 May 2016 at 21:20:54 UTC, Martin Nowak wrote: On 05/21/2016 11:18 PM, Martin Nowak wrote: The debugging metaphor would be comparing a program that only uses pointer arithmetic against one that is memory safe, the former can randomly write everywhere from anywhere, the latter

Re: PowerNex - New release of my D kernel

2016-05-29 Thread Stefan Koch via Digitalmars-d-announce
On Sunday, 29 May 2016 at 23:15:13 UTC, Wild wrote: Hey! I have new release of my D kernel called PowerNex. This release should be a bit more interesting than the last one that I release back in November 2015. This one contains a working memory manager, a custom TTY renderer, BMP image

  1   2   3   >