Skip to content
#

Compiler

Compilers are software that translate higher-level (more human readable) programming languages to lower-level languages (e.g. machine code). The processor executes machine code, which indicates when binary high and low signals are required in the arithmetic logic unit of the processor. Examples of compiled languages include BASIC, Fortran, C++, C, and Java.

Here are 4,136 public repositories matching this topic...

jonas-schievink
jonas-schievink commented Mar 29, 2020
#[link(name = "c", cfg(yes))]
extern {}
error[E0658]: is unstable
 --> src/lib.rs:1:1
  |
1 | #[link(name = "c", cfg(yes))]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: for more information, see https://github.com/rust-lang/rust/issues/37406

🤔

In addition to the malformed diagnostic, the tracking issue has been closed already. According to https

svelte
khorpy
khorpy commented Jul 30, 2019

There is already bind:innerHTML and bind:textContent implemented for elements with contenteditable="true". But there is also a third property that is also would nice to have: bind:innerText.

InnerText approximates the text the user would get if they highlighted the contents of the element with the cursor and then copied it to the clipboard

radare
radare commented Mar 21, 2020

V version: V 0.1.25 c12985d
OS: macOS 10.15

What did you do?

grepping in the source i found all those [..] attributes used or documented. its a bit confusing to understand what are they for and how/when to use them. so it will be good to have some tests and document them in doc/attributes.md

Also it is possible to define custom attributes like in python or c# ?

type
pjebs
pjebs commented Oct 15, 2018

The documentation for reflect.DeepEqual makes no mention of panic'ing: https://golang.org/pkg/reflect/#DeepEqual

In this example it panics:

println(fmt.Sprintf("fieldVal %T %v", fieldVal, fieldVal))
println(fmt.Sprintf("Zero %T %v", reflect.Zero(reflect.TypeOf(fieldVal)).Interface(), reflect.Zero(reflect.TypeOf(fieldVal)).Interface()))
reflect.DeepEqual(fieldVal, reflect.Zero(reflect.T
Nim
devjgm
devjgm commented Jan 20, 2020

Is your feature request related to a problem? Please describe.
No.

Describe the solution you'd like
I'd like the source code to be automatically clang-formatted according to my settings anytime the code is compiled. That is, don't require me to use the contextual menu or keyboard shortcut to format the code. Just auto-format it; just like the code is auto-compiled too.

Well, ther

ampheul
ampheul commented Aug 20, 2019

Quick Summary: using --docs flag with application should print an error. Related to #1835

Current behavior for --docs on type : application is to ignore the flag which is confusing. The compiler should probably warn us.

  • Elm: 0.19
  • Browser: Not Applicable
  • Operating System: Not Applicable
kristoff-it
kristoff-it commented Mar 5, 2020

Quoting myself from the discussion in #4062:

Now the process completes successfully but the resulting document is still buggy.
I'm not referring to small things or missing pieces, but rather that when no section is selected (i.e. no url fragment) I see my declarations, while when root is selected, I only see a bogus main function. Trying to navigate my declarations from the first state doesn

masahi
masahi commented Nov 27, 2019

With v0.6 adding quantization support, I think it is good time to add documentation on our quantization story.

There have been many questions on the forum, some of which are listed at the bottom. I myself have recently become interested in the topic, but I'm having hard time digging through the forum, github issues, PRs etc.

It would be great if we could add an end to end quantization usag

ballercat
ballercat commented Oct 14, 2018

Problem

walt-cli package when linking multiple .walt files together can "wrap" the modules in a stand-alone JS module. The resulting module is too large because it serialized the dependency tree with the AST information encoded directly into the output, resulting in a massive amount of js.

Encoding the dependencies into the file is done to ensure the module can be used stand-alone in br

hiiamboris
hiiamboris commented Feb 21, 2020

Describe the bug

>> i: make image! 2x2
== make image! [2x2 #{FFFFFFFFFFFFFFFFFFFFFFFF}]
>> i/alpha
== #{00000000}
>> i/alpha: 1 i/alpha
== #{01010101}
>> i/alpha: -1 i/alpha
== #{FFFFFFFF}           ;) expected #{00000000}
>> i/alpha: 255 i/alpha
== #{FFFFFFFF}
>> i/alpha: 256 i/alpha
== #{00000000}           ;) expected #{FFFFFFFF}

Expected behavior

Alpha val

You can’t perform that action at this time.