I am working on a project which requires me to generate asm code from llvm ir.
When I using llc to generate code directly from .ll file, the assembly doesn't have frame pointer fp. However, when I use the riscv-unknow-elf-gcc to compile .cpp file,…
I have a form where some values are taken and at the end some images are added through expo image picker. All of those informations are to be uploaded to AWS amplify so upon importing the models I suddenly receive a weird error I haven't seen before…
Issue
We generate sources from an openApi specification (into java via gradle plugin) and it would be very convenient to specify the target class name in another way than tagging each path individually (like mentioned in their docs).
Goal
Ideally,…
I have a 3rd party open API spec that I have no control over. I am generating a c# client to consume this service using nswag as part of a build.
The open API spec has an attribute in one of the response models which is called System as an int.
When…
When using type generators like apollo client:codegen or others, how do you generate the types for things like this:
const query = gql`
query ${model}Aggregate($where: ${typename}_bool_exp) {...} `
Am getting an error : Error: Syntax…
I want to be able to extract and concatenate bits that make up different llvm::Value's.
For example, I want to be able to extract 5 bits from offset 3 from a i32, or to concatenate bits of i5 and i3 to get i8. What is the best way to do this? I…
I have a problem with an assignment. I have to make a program that receives time and date from a remote host using the RPC protocol and generated by rpcgen.
rpctime.x
program RPCTIME
{
version RPCTIMEVERSION
{
long GETTIME() = 1;
…
This question is continuation of this one,
Change animation theme when system theme is changing in UWP using Lottie
Basically I want to perform similar task using codegen. Could not find any way. Any help please?
I have a client that queries 2 endpoints. Now, how do I auto-generate types from 2 graphql schemas, when using 2 endpoints?
Scripts I used up until now (with standard 1 endpoint) uses Apollo codegen (source):
"schema": "npx apollo service:download…
Context
My app uses CoreData and for the first version I was just using the Class Definition as the Codegen Method for all Entities. However, since I changed it to Category / Extension, the app crashes every time a View with a @FetchedResult…
I defined missingRatio variable in my openApi yaml file as below. Openapi version is "3.0.0"
api.yaml
missingRatio:
type: number
format: float
minimum: 0.1
maximum: 0.3
default: 0.2
multipleOf: 0.1
description: "Ratio of data to remove…
There is a very useful command in Visual Studio, which permits to paste json from clipboard to C# classes.
Is there a way to use this function (through automation, library or any other way) from our code ?
Thank you in advance
Adapters generated via codegen cannot be added in the Moshi.Builder().add(Type, JsonAdapter). So moshi doesn't know how to create the compile-time generated adapter.
It uses reflection to create them, which adds a significant overhead on low-end…
I've got some code generated from an XSD, one of the properties is an array that can be one of 7 different classes, all these classes share some fields so I would like to create an interface so I can iterate over the array and access the 'tpl'…
I am implementing a code generator in java that will create a C# code.
When I need to use Console.ReadLine() the variable have a type, but I don't know the type when I am generating the code.
So, is it possible to convert the type from…