Giter Site home page Giter Site logo

Comments (4)

leidegre avatar leidegre commented on August 12, 2024 1

Perfect, I'm traveling without a computer for a couple of weeks but I'll put together a PR when I'm back.

from tundra.

leidegre avatar leidegre commented on August 12, 2024

I can write up a PR for this if it makes sense.

Should we pass default_nodes as an array or should we pass it as a lookup table where the DAG nodes are keys for ease of use? GIven that I only have this use case atm I'm biased toward the latter.

i.e.

local default_nodes = {}
for _, v in ipairs(node_bindings) do
  for _, default_node in pairs(v.DefaultNodes) do
    default_nodes[default_node] = true
  end
end

from tundra.

leidegre avatar leidegre commented on August 12, 2024

I made a Gist with my vscode generator for completeness sake, it's using the change above that I have made to my local Tundra installation. This line uses the default_nodes to lookup a DAG node to tell if it's a default build unit.

from tundra.

deplinenoise avatar deplinenoise commented on August 12, 2024

I think this makes sense to add. I vaguely remember doing something like this back in the day for Visual Studio, to mark certain things as being part of the default build, but it wasn't useful or something and I never completed it.

A lookup table probably makes sense if you want to PR this, there's a utility function that makes a LUT from an array.

from tundra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.