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.
-
- Sign up for GitHub or sign in to edit this page
Here are 3,614 public repositories matching this topic...
The following code:
fn take_bool(val: bool) {}
fn main() {
let a = &true;
if a {
println!("Hello!");
}
take_bool(a)
}gives the following errors:
error[E0308]: mismatched types
--> src/main.rs:5:8
|
5 | if a {
| ^ expected bool, found &bool
|
= note: expected type `bool`
found type `&bool`
error
Many people on constrained data plans turn on data saving — their smartphone browsers then send a "Save-Data" header to servers.
We can use this in the client as well to choose lower-data rendering options for these people.
For gatsby-image, we can render regular resolution images for these people instead of retina.
if ("connection" in navigator) {
if (navigator.connection.savIf the flow plugin runs before the class properties one (or if the class properties plugin isn't used), we remove uninitialize class fields:
class Foo { x: string }currently becomes
class Foo {}while it should be
class Foo { x }If someone still wants the old behavior, they can either use flow comments (as [offically recommended](https://github.c
Create the @parcel/transformer-markdown package in packages/transforms/markdown. This package is a Parcel 2 transform plugin for markdown. It should be based on the MarkdownAsset from Parcel 1.
The @parcel/transformer-markdown package is responsible for the following things:
- Compiling markdown to HTML using
marked
The Kotlin Programming Language
-
Updated
Sep 24, 2019 - 57 commits
- 338 contributors
- Kotlin
Maybe I am wrong but it seems like the documentation for bind:this should come before the documentation for bind:property (just flip them around) as the bind:property documentation says: "You can bind to component props using the same mechanism." despite the documentation before it being on:eventname.
I also may just be viewing this incorrectly
Marked version: 0.7.0
- December 2017: Should we perform a miracle?
- February 2018: MarkedJS Organization is opened. Core team and roadmap established.
This is a community effort. The core team is primarily here for c
Hi,
I get the following warning when compiling my code:
Warning Cannot resolve 'config.getServerMode() ? '../libserver/server_code.js' : '../liblocal/local_code.js''
Use a string literal as argument for 'require', or leave it
as is and specify the resolved file name in 'scripts' option.
I understand the reason for this and what I need to do. As it says in the manual: ```
The official mirror of the V8 Git repository
-
Updated
Sep 24, 2019 - 58 commits
- 339 contributors
- C++
A Java 8+ Jar & Android APK Reverse Engineering Suite (Decompiler, Editor, Debugger & More)
-
Updated
Sep 24, 2019 - 288 commits
- 16 contributors
- Java
In the past, when GopherJS was in early development stages, many packages were listed in the compatibility table as partially supported, simply because it was a work in progress, and they were rapidly progressing towards fully supported.
By now, GopherJS is a lot more mature, with only 12 packages still listed as partially supp
When using basic operators (+,-,*,div) on integers of different lengths (eg uint16 and uint32), implicit conversion only works when the longest type is first. It is expected that the order of operands on these operators should not affect the operation.
Example
var a:uint16 = 1
var b:uint32 = 2
echo(b+a) # works
echo(b-a) # works
echo(b*a) # works
echo(b div a) #works
Currently most test routines run synchronously. But number of tests and files continiusly growing and this could be a problem in future.
Proposed steps:
Super-fast javascript to javascript compiler written in rust
-
Updated
Sep 24, 2019 - 378 commits
- 16 contributors
- Rust
Is your feature request related to a problem? Please describe.
Catch2 is advertised as a 'header-only' library - which leads one to expect it to be usable within executable code on Compiler Explorer, using the 'a.out' option.
However, Compiler Explorer incorporates Catch2 using its include directory, which contains all the component header/source fil
Turn your ES5 code into readable ES6. It does the opposite of what Babel does.
-
Updated
Sep 21, 2019 - 916 commits
- 25 contributors
- JavaScript
Feature request
Implement numpy.flip() in arrayobj.py. This is a bit more difficult than just adding the Numpy Python code since it needs to work across n-dimensional arrays. I would considering using np.nditer or similar to acquire this functionality. Here is 1-d case from the sprint at SciPy2019:
def flip_ud(input_array):
'''
Quick implementaiton of flip_ud fromIn the pic, B(0,0,A 2, A 1) should have some whitespace, the fix should be in the module caml_chrome_debugger
:sunglasses: Curated list of awesome resources on Compilers, Interpreters and Runtimes
-
Updated
Sep 24, 2019 - 196 commits
- 29 contributors
Open deep learning compiler stack for cpu, gpu and specialized accelerators
-
Updated
Sep 24, 2019 - 3 commits
- 260 contributors
- Python
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
foo = []
"/event/:id".scan(/:(\w+)/) { |name,| foo << name }
puts foo.inspect
MRI:
["id"]
Opal:
[["id"]]
Red is a next-generation programming language strongly inspired by Rebol, but with a broader field of usage thanks to its native-code compiler, from system programming to high-level scripting and cross-platform reactive GUI, while providing modern support for concurrency, all in a zero-install, zero-config, single 1MB file!
-
Updated
Sep 24, 2019 - 10 commits
- 46 contributors
- Red
Basic points:
inlineactually puts limitations what the compiler/optimizer is allowed to do. It's often incorrect intent. If your intent is to improve performance, making a functioninlineis communicating something only tangentially related, and in some cases can actually harm performance.- The optimizer usually has more information than you do about the time/space tradeoff
- `inli
On WSL/ubuntu, scala-native builds, following the user instructions for ubuntu, and in addition install the package zlib1g-dev
This could be documented on the website at http://www.scala-native.org/en/latest/user/setup.html
Unapply that return Some[X] or true are statically known to always match, and the exhaustiveness checker uses this knowledge (see https://github.com/lampepfl/dotty/blob/494f9e6c2a397ab47a08d16d09d64c88c4a0ee82/compiler/src/dotty/tools/dotc/transform/patmat/Space.scala#L285-L294). This should be documented in http://dotty.epfl.ch/docs/reference/changed-features/pattern-matching.html


Do you want to request a feature or report a bug? Feature