Skip to content
#

metaprogramming

Here are 487 public repositories matching this topic...

Nim
stephanecopin
stephanecopin commented Jun 7, 2019

I've been using Sourcery to generate documentation automatically for GitHub wiki (i.e. generate markdown files based on types & annotations), as it's pretty user friendly on there (as in "easy to read") and also very easy to do in templates thanks to Sourcery's capability to generate files on the fly.

However, using annotations is not very "coder-friendly" though, as it gets hard to maintain be

Kodiologist
Kodiologist commented Feb 17, 2020

If you make a new class C that inherits from a class B with a registered hy-repr function f-B, but don't register a function for C, then hy-repr on an instance of C will call f-B, which can be misleading: it looks like you have an instance of B when actually you have an instance of C. We should probably fall back on repr instead.

For example, pandas's Timestamp class inh

JD-TB
JD-TB commented Jan 24, 2020
curl --location --request POST 'http://example.com/api/test' \
--header 'Content-Type: multipart/form-data' \
--form 'file=@/C:/Users/Example/Pictures/index.png' \
--form 'name=test'

This is how you do multipart with http. This is for dio.

jonesmz
jonesmz commented Mar 15, 2020
#ifdef BOOST_HANA_CONFIG_ENABLE_STRING_UDL
    //////////////////////////////////////////////////////////////////////////
    // _s user-defined literal
    //////////////////////////////////////////////////////////////////////////
    namespace literals {
        template <typename CharT, CharT ...s>
        constexpr auto operator"" _s() {
            static_assert(std::is_same<Ch

Manifold plugs into Java to supplement it with powerful features, from Type-safe Metaprogramming, Extension Methods, Operator Overloading, and Unit Expressions to an integrated Template Engine and a Preprocessor. All fully supported in IntelliJ IDEA. Simply add Manifold to your project and begin taking advantage of it.

  • Updated Jun 2, 2020
  • Java
jamespharvey20
jamespharvey20 commented May 2, 2019

Expected Behavior

example.tutorial_basic_first_steps_with_dynamic_bindings should compile.

Actual Behavior

gcc 9 may be released as early as tomorrow. Using its current git build, or using the new gcc 10 git build, fails with the error below.

No pull request coming from me on this. :-) I'm just temporarily commenting out the is_same<>.

[ 40%] Building CXX object test/
ckipp01
ckipp01 commented Mar 26, 2020

Currently in the documentation it shows that that you should install scalafix in the following way:

addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.13")

However, 0.9.13 is the current version of core, not the plugin. However, the version of core gets put into the plugin here. This may not be common as they may always be in sync, but this might confuse people as they try t

LPTK
LPTK commented Jun 13, 2018

It would be nice being able to use simple def's (without type parameters) in embedded code, as well as lazy values. For example, it would avoid a workaround mentioned in emmalanguage/emma#369.

This should be doable in the same [way it's done](https://github.com/epfldata/squid/blob/9efb10fca43ceed6007d3e6303bdb22f31691dc8/core/src/main/scala/squid/quasi/ModularEmbed

Improve this page

Add a description, image, and links to the metaprogramming topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the metaprogramming topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.