Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
39 views

I have a library within which I'd like to publish one of two nearly identical headers to the public API, dependent on a build flag, however this build flag should be entirely unknown to the user of ...
Will Rajan's user avatar
0 votes
1 answer
68 views

I disable I/O checking inside a procedure: procedure RewriteText( FileName: string; var TextFile: text; var ErrMsg: string ); begin {$I-} assign(TextFile, FileName); rewrite(...
Bogdan Doroschenko's user avatar
1 vote
2 answers
155 views

In our project (C++ + CMake), we are trying to embed into a log line the project build timestamp. We thought of using a CMake custom command, and we managed to make it regenerate a .cpp file at every ...
Alessandro Bertulli's user avatar
0 votes
3 answers
82 views

I'm on a java/maven project, using the jaxb2 inheritance plugin in order to define parent classes for xjc-generated java classes. I'm having this xsd: <?xml version="1.0" encoding="...
Rinke's user avatar
  • 81
0 votes
2 answers
87 views

What are the details of your problem? In my Flutter project, I'm using swagger_dart_code_generator to generate Chopper-based API client code from a Swagger 2.0 JSON file for a multipart/form-data file ...
vikas poute's user avatar
1 vote
1 answer
125 views

Looking at the codegen of a check inside for-loop I wanted to see if there is an optimization opportunity by outlining is_some_and but both cases had the same codegen. struct V { len: Option<...
A. K.'s user avatar
  • 39.3k
1 vote
0 answers
61 views

I have a series of OpenAPI 3.0.3 specifications for multiple ASP.NET services. The schemas for the services use a series of shared models: in this case, common error responses, types for dates/times, ...
Lily Smith's user avatar
3 votes
1 answer
284 views

I'm learning Zig and I'm trying to write a generic function that automatically serializes any struct into JSON. In languages like Rust or Go, there are libraries that can iterate over the fields of a ...
Ronika Kashyap's user avatar
-2 votes
1 answer
105 views

We have a system with many logic expressions, they're implemented as series of boolean functions operating on variables and the rules are stored as XML. As the XML files are compiled into the assembly ...
MrTelly's user avatar
  • 14.9k
0 votes
0 answers
104 views

I am writing a Java library in which I'm attempting to auto-generate some boilerplate code using annotations. The generated code is a large hierarchy of sealed interfaces with lots of cyclic ...
Jamie Mullowney's user avatar
1 vote
0 answers
57 views

I'm using jOOQ (version 3.20.2) with SQLite, and I'm trying to fetch a record along with a multiset of related entries. I know that jOOQ emulates MULTISET via JSON in SQLite, but I get a runtime ...
schufi73's user avatar
0 votes
0 answers
143 views

I'm working in an application that's currently switching from surrealdb to regular postgres using the sea-orm crate, but the cli is failing to find anything. I'm not sure what I'm doing wrong, as I'm ...
Andrew's user avatar
  • 642
0 votes
0 answers
144 views

I am writing a code generator to add functions to existing interfaces and that sort of thing. But I can't even get the project to launch. To be clear, it builds, compiles, goes through all the motions,...
Isaac's user avatar
  • 364
1 vote
1 answer
50 views

I'm doing some .Net apps on mac, using Rider. Regardless if the whole project is scaffolded with VS Code or Rider itself, anytime when I hit Add Controller it the code generator with --sqlite flag ...
Curanda's user avatar
  • 13
0 votes
0 answers
38 views

I am using Matlab codeGen to create a C++ lib for my ARM cortex-A env. and using an Add-On named "Embedded Coder Support Package for ARM Cortex-A Processors", which included the full package,...
Natalie's user avatar
-4 votes
1 answer
95 views

I created a bash script that automatically populates a lua config file with ssh-mux settings according to my input. The populated config file looks like this: ssh_domains.lua local M = {} M....
glades's user avatar
  • 5,392
1 vote
0 answers
75 views

Im trying to create a code generator using Roslyn, it specifies the generator must not access IO methods and reach physical files. Instead, files should marked using AdditionalFiles build action (item ...
JairoV's user avatar
  • 2,114
4 votes
1 answer
100 views

Suppose I have a Python function Foo() that I'm auto-generating to C++ with SymForce's codegen functionality. It's a complicated function with a lot of parameters, so I want to pass in a Params struct ...
user2465116's user avatar
1 vote
1 answer
70 views

I am writing an incremental C# source generator which I would like to use in .NET (net9.0) and Unity (6.0) projects. The generator should have slightly different behaviour in each (generate Task in ....
Stephen Starkie's user avatar
0 votes
1 answer
84 views

I have a class that generates Restassured JUnit tests in a specific subfolder of my build/tests/ structure, based on some postman test collections. I have written a test to take all the *....
JoSSte's user avatar
  • 3,452
0 votes
1 answer
156 views

I want when executing the following command: playwright codegen demo.playwright.dev/todomvc I open the browser with the arguments of --disable-web-security --user-data-dir=“...”. Can this be done? I ...
Felipe Sanguino's user avatar
0 votes
1 answer
66 views

I was recently trying to write event callback handlers for my UI system, and I've been having trouble accessing higher-scope variables from a procedurally generated global function. Here's some sample ...
Jax's user avatar
  • 407
0 votes
0 answers
24 views

After migrating the generator code with gendevkit-generator-migrator-1.3.0 and generate gen data with Cfg6, there are missing code parts in the "Unrecognized UserBlocks Section". They were ...
user18617492's user avatar
0 votes
1 answer
62 views

I have an xsd with some very large enums - if I allow XJC to generate actual Java enums for these types, I run into the problem described here: Does an Enum Class containing 2000+1 Enum Constants hit ...
Tyler's user avatar
  • 121
1 vote
0 answers
50 views

Issue with Parent Condition Context in Else Block During AST Traversal I’m working on a JavaScript code analysis tool that traverses the Abstract Syntax Tree (AST) to analyze function calls and their ...
noob's user avatar
  • 11
0 votes
0 answers
84 views

Im trying to build a graphql schema during runtime without any static schema definitions. I have the following classes @Component public class GraphQLProvider { private GraphQL graphQL; ...
imsilversurfer's user avatar
2 votes
0 answers
90 views

I tried to generate C code for matrices of arbitrary size using sympy, but the code is invalid. Root cause seems to be that sympy's 'Sum' function is not properly translated. Here is an example: from ...
Ingo Thomas's user avatar
2 votes
0 answers
115 views

I have a project specific roslyn source generator. It is a project reference in a library (which is also a project reference) in my application. <ProjectReference Include="$(RepoRoot)\...
Evan's user avatar
  • 2,586
1 vote
1 answer
37 views

I'm trying to migrate a homegrown template engine to Telosys, but an important feature that I miss in Telosys is the ability to organize entity classes in subpackages under the same project (main ...
jglatre's user avatar
  • 953
3 votes
2 answers
142 views

When creating a new method in a class in Visual Studio, the IDE generates the method as internal, but I want public to be the default. I didn't find a way to change this behavior. I know that there ...
codymanix's user avatar
  • 29.6k
2 votes
1 answer
583 views

I'm trying to add to my Turbo Native Module (both Android and iOS) an event listener, I'm following the documentation for RN 0.76 and so far I got the specification, native module that exposes events ...
fgrs's user avatar
  • 67
0 votes
1 answer
79 views

How can I obtain the list of Postgres keywords? Failing a programmatic solution, where can I look inside the Postgres project to get this list? Context: for use in a code generation tool.
Mark Harrison's user avatar
-1 votes
1 answer
112 views

GraphQL code generator ceased functioning correctly anymore. It no longer generates the expected code and has also deleted all previously generated files. codegen.ts and package.json was not changed. ...
nutipa's user avatar
  • 17
5 votes
0 answers
2k views

After upgrading from node 23.5.0 to 23.6.0, our Playwright test suites stopped working. It looks like it's related to an "--experimental-strip-types" setting. We've fixed our code by ...
Chris S's user avatar
  • 180
0 votes
0 answers
43 views

My Maven project is a template engine that generates some java classes from user input data (provided as a json file). It is simply composed of a top level module (myproject-parent, type pom) and a ...
Yoshi31's user avatar
  • 11
0 votes
0 answers
101 views

I'm trying to build an incremental source generator that will output nested classes with strings for each content file in my project containing its file path like so: public static class Content { ...
Applekini's user avatar
  • 860
3 votes
0 answers
79 views

Is there a way to use tags (or another method) to generate interfaces in Go using oapi-codegen? I've tried: paths: /foobar: post: tags: - FooInterface operationId: createFoo ...
nkmuturi's user avatar
  • 466
1 vote
0 answers
34 views

At the moment (Dart 3.6.0) creates a macro file with the following content: part of 'path_to_parent_file.dart'; // Generated code Which means it is part of the parent file. Everything works fine in ...
mezoni's user avatar
  • 11.3k
1 vote
0 answers
157 views

The following jdl: entity Customer { firstName String required, lastName String required, email String required, phone String, status CustomerStatus required, company String, jobTitle ...
milanHrabos's user avatar
  • 2,017
0 votes
0 answers
101 views

Environment: Matlab R2022b Simulink model Problem: I was generating code from Embedded coder and generated codes have header file declaration present in the C file instead of H file. I used the same ...
Cyborgin's user avatar
-1 votes
2 answers
171 views

I’ve implemented a stack-based LL(1) parser driven by a parsing table and symbol table. The parser processes tokens iteratively, using a stack to manage grammar symbols. Here’s a simplified version of ...
demon's user avatar
  • 67
1 vote
1 answer
85 views

I would require wrapping the logic of my Simulink model to be obfuscated or hidden. One of the ways to perform it is to create a similar s-function block with the object code generated from the same ...
Akhil Nandan's user avatar
-1 votes
1 answer
466 views

I would like to generate some code so i can interact with DataVerse tables from C#. I have played around with the PAC CLI Modelbuilder and used that successfully. My issue is, that i am in a corporate ...
Henrik Gering's user avatar
1 vote
0 answers
137 views

I'm completely new to oapi-codegen and its generated code. I tried to generate echo, as well as chi-server code. I defined, in my openapi specification security like this: /itworks: get: ...
Skeeve's user avatar
  • 8,642
2 votes
0 answers
125 views

I have the following code Try it here using System; using System.Diagnostics.CodeAnalysis; public class Base{ protected Base(){ Initialize(); } protected virtual void ...
infinitezero's user avatar
  • 2,147
0 votes
1 answer
133 views

I have a few C# (*.cs) files in my project that need to be included in compilation as well as distributed as source code along with the application (the application itself is not open-source). ...
Raheel Khan's user avatar
  • 14.8k
0 votes
0 answers
69 views

I run Matlab under Windows. I am new to this so hopefully this is dead simple problem. I try to deploy a model to arm-based device by pressing [Build Deploy Start] And I get this message: Backslash '\...
tsadigov's user avatar
2 votes
0 answers
186 views

I am using Mason Bricks. I know, you can also have loop in files. But is there also a way to use loops to create files from given args? This is the structure I would like to accomplish: ...
Chris's user avatar
  • 2,414
0 votes
1 answer
201 views

I have a complex MATLAB model consisting of several subfunctions that I need to integrate into a SIMULINK model. However, the MATLAB model uses tables and a lot of functions and operations which are ...
OnePokeBloke's user avatar
1 vote
1 answer
563 views

My task is to bring R.swift into our own SPM, so that the code of app itself still has access to the generated Rswift resources. Our package setup looks like this let package = Package( name: &...
Olexantor's user avatar

1
2 3 4 5
79