So I'm making an interpreter for my custom scripting language and
I want to allow users to write libraries in languages other than
said scripting language (for efficiency). For example, you should
be able to write a mathematics library in D, compile it, then
write a simple wrapper in my languag
So I've looked at the [pegged
library](https://github.com/PhilippeSigaud/Pegged) and used it a
little bit and it seems really good. But there doesn't seem like
there's a built-in way to get line numbers of nodes in the parse
tree (or maybe I'm missing something). This would useful because
if a
On Monday, 15 August 2022 at 23:38:09 UTC, Paul Backus wrote:
On Monday, 15 August 2022 at 22:55:30 UTC, TheZipCreator wrote:
[...]
It looks like the parse tree in pegged stores the start and end
byte indices of the portion of the input text it corresponds to:
https://github.com/PhilippeSig
I'm currently making a library to do programmatic animation (akin
to [manim](https://www.manim.community/) but for D and a
different style) and for audio arsd.simpleaudio seems like the
only real option (all the others I could find are too low-level
for my taste) but if I want to skip to a spec
On Sunday, 20 November 2022 at 21:57:03 UTC, Adam D Ruppe wrote:
On Sunday, 20 November 2022 at 20:34:44 UTC, Adam D Ruppe wrote:
i'll get back to you in a lil
i went overbudget lol. but yeah the seek function in the
underlying lib fails and idk why
it is so hard to even trace what error ac
On Sunday, 20 November 2022 at 23:03:49 UTC, Adam D Ruppe wrote:
Here's the patch for ogg, you can download those two files off
git master too
works great! thanks
is there a compiled binary of GDC anywhere? I looked at
https://www.gdcproject.org/downloads, and the link there goes to
winlibs, but after downloading the archive I couldn't find gdc
anywhere in it. I did some research and [it appears they removed
it](https://forum.dlang.org/thread/rcfevunwsgy
On Thursday, 12 January 2023 at 08:03:34 UTC, John Chapman wrote:
I'm obviously doing something wrong, but don't quite understand.
```d
mixin template helper() {
mixin("writeln(12);");
}
struct Foo {
void opDispatch(string name)() {
import std.stdio;
mixin helper!();
//mixin("wr
On Tuesday, 10 January 2023 at 00:17:18 UTC, Paul wrote:
Greetings Dlang-ers
I was wondering if anyone knew of any coding challenges
available where the input and output are specified and its left
to the programmer to find a solution? Free would be nice but
even paid services would be worth c
In webassembly, there's a type called `externref`, which opaquely
represents a javascript object. So, you could do this for
example, with this javascript:
```js
class Foo {
constructor(x) {
this.x = x;
}
}
const imports = {
env: {
fooNew:
On Friday, 3 March 2023 at 13:42:55 UTC, ryuukk_ wrote:
On Friday, 3 March 2023 at 03:32:37 UTC, TheZipCreator wrote:
[...]
https://discourse.llvm.org/t/rfc-webassembly-reference-types-in-clang/66939
it says it is an opaque type, maybe just need to be ``void*``?
Also there are new intrinsics
I'm trying to compile to Android 24, but I can't get it to work.
I get the following error:
```
ld.lld: error: undefined symbol: __tls_get_addr
referenced by sections_elf_shared.d
sections_elf_shared.o:(_D2rt19sections_elf_shared13initTLSRangesFNbNiZPS4core8internal9container5arra
I'm using the arsd.minigui package for a project, and I want to
add a dark theme/light theme switch. It seems that there's
support for theming in minigui, but the documentation isn't
exactly clear on how to do it. I found `DefaultTheme`,
`DefaultLightTheme`, and `DefaultDarkTheme`, but how do I
13 matches
Mail list logo