Happened to stumble across this today, which I thought is a relevant, if
sadly humorous, take on build systems:
https://pozorvlak.dreamwidth.org/174323.html
T
--
ASCII stupid question, getty stupid ANSI.
On Wed, Nov 02, 2022 at 09:16:22PM +0100, Christian Köstlin via
Digitalmars-d-learn wrote:
> On 02.11.22 20:16, H. S. Teoh wrote:
[...]
> > IMO, the ideal situation is a hybrid situation: the underlying build
> > mechanism should be purely declarative, because otherwise the
> > complexity just goe
On 02.11.22 17:24, Kagamin wrote:
Another idea is to separate the script and interpreter then compile them
together.
```
--- interp.d ---
import script;
import ...more stuff
...boilerplate code
int main()
{
interpret(script.All);
return 0;
}
--- script.d ---
#! ?
module script;
import min
On 02.11.22 20:16, H. S. Teoh wrote:
On Wed, Nov 02, 2022 at 03:08:36PM +, JN via Digitalmars-d-learn wrote:
On Tuesday, 1 November 2022 at 23:40:22 UTC, Christian Köstlin wrote:
sh("touch %s".format(t.name));
One of the problems of many Make-like tools is that they offe
On Wed, Nov 02, 2022 at 03:08:36PM +, JN via Digitalmars-d-learn wrote:
> On Tuesday, 1 November 2022 at 23:40:22 UTC, Christian Köstlin wrote:
> > sh("touch %s".format(t.name));
>
> One of the problems of many Make-like tools is that they offer lots of
> freedom, especially w
Another idea is to separate the script and interpreter then
compile them together.
```
--- interp.d ---
import script;
import ...more stuff
...boilerplate code
int main()
{
interpret(script.All);
return 0;
}
--- script.d ---
#! ?
module script;
import mind;
auto All=Task(...);
...more decla
But embedded sdl is likely to be dwarfed by the actual code
anyway.
On Tuesday, 1 November 2022 at 23:40:22 UTC, Christian Köstlin
wrote:
I am still trying to find answers to the following questions:
1. Is it somehow possible to get rid of the dub single file
scheme, and
e.g. interpret a full dlang script at runtime?
If there was an interpreter like
```
#!
On Tuesday, 1 November 2022 at 23:40:22 UTC, Christian Köstlin
wrote:
sh("touch %s".format(t.name));
One of the problems of many Make-like tools is that they offer
lots of freedom, especially when allowing you to launch arbitrary
shell commands. But this also comes with drawb
On 02.11.22 04:07, rikki cattermole wrote:
Something to consider:
dub can be used as a library.
You can add your own logic in main to allow using your build
specification to generate a dub file (either in memory or in file system).
Nice ... I will perhaps give that a try!
Kind regards,
Chris
On 02.11.22 03:25, Tejas wrote:
On Tuesday, 1 November 2022 at 23:40:22 UTC, Christian Köstlin wrote:
Dear dlang-folk,
one of the tools I always return to is rake
(https://ruby.github.io/rake/). For those that do not know it, its a
little like make in the
sense that you describe your build a
On 02.11.22 00:51, Adam D Ruppe wrote:
I don't have specific answers to your questions but your goal sounds
similar to Atila's reggae project so it might be good for you to take a
look at:
https://code.dlang.org/packages/reggae
Hi Adam,
thanks for the pointer. I forgot about reggae ;-)
From
Something to consider:
dub can be used as a library.
You can add your own logic in main to allow using your build
specification to generate a dub file (either in memory or in file system).
On Tuesday, 1 November 2022 at 23:40:22 UTC, Christian Köstlin
wrote:
Dear dlang-folk,
one of the tools I always return to is rake
(https://ruby.github.io/rake/). For those that do not know it,
its a little like make in the
sense that you describe your build as a graph of tasks with
dependenc
I don't have specific answers to your questions but your goal
sounds similar to Atila's reggae project so it might be good for
you to take a look at:
https://code.dlang.org/packages/reggae
Dear dlang-folk,
one of the tools I always return to is rake
(https://ruby.github.io/rake/). For those that do not know it, its a
little like make in the
sense that you describe your build as a graph of tasks with dependencies
between them, but in contrast to make the definition is written in
16 matches
Mail list logo