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,523 public repositories matching this topic...
Bug report
Describe the bug
When running next using Yarn 2 and visiting a page in the browser that doesn't exist, the 404 error page never shows up. Instead it loads forever ("waiting on localhost...") and then eventually errors with ERR_EMPTY_RESPONSE.
But the terminal shows that the page was compiled:
[ event ] build page: /next/dist/pages/_error
[ wait ] compiling ...
#![forbid(unused_qualifications)]
#[derive(Clone)]
pub struct S;error[E0453]: allow(unused_qualifications) overruled by outer forbid(unused_qualifications)
--> src/main.rs:3:10
|
1 | #![forbid(unused_qualifications)]
| --------------------- `forbid` level set here
2 |
3 | #[derive(Clone)]
| ^^^^^ overruled by previous forbid
All bu
Summary
Our docs relating to GraphQL sometimes have CodeSandbox samples where viewers can edit their query. However, these pages are represented in the markdown as raw iframes and are quite ugly:
<iframe title="A basic query" src="https://7118
🐛 bug report
loadConfig should emit a codeframe on a parse error:
This is for example used for loading .postcssrc.
🤔 Expected Behavior
See screenshot in parcel-bundler/parcel#4420
😯 Current Behavior
With an invalid `.p
Describe the bug
The content of the the svelte file is a large HTML chunk, withouy any script logics or styling being involved. Max stack size exceeded error while compiling.
To Reproduce
https://svelte.dev/repl/a9dfcc17551c4aeb95e8fe748a97061d?version=3.20.1
Expected behavior
Compiling should not break
Information about your Svelte project:
Svelte 3.20.1, Rollup, Wind
-
Updated
Jul 14, 2020 - Kotlin
Please see previous #1522 for backstory.
December 1st, 2017 the core team came together to take on Marked. Since then a lot has happened...a lot. Some changes in direction we wanted to talk about:
- Spec-compliance, semver, and a 1.0 release
- Make Marked more extensible ra
Example ( JSON decoding/encoding ):
Returns:
You just found a bug. V can't compile this program, but it should. Please create a GitHub issue.
Solution: ?
fn main() { age = 21 }
Using Run works perfectly.
But all other examples like Strings, ...
name := 'Bob' println('Hello, $name!') // $` is used for strin
Better document #522
Hello, could we somehow document #522 / provide a better error message? I've spent waaaaay too much time trying to solve the issue before finding the already existing solution:/
Even better - fix it, instead of a work-around?
Thanks!
-
Updated
Jun 8, 2020 - C++
On OSX, rather than using ctrl-C (copy) or ctrl-V (paste) the standard is to use command-C/command-V, but neither of these bindings work within the app.
-
Updated
Jul 13, 2020 - Go
sizeof doesn't work for types that store Atomics. This would be useful to size the memory buffer for thread-safe memory allocators with what is left from the synchronization primitives.
import std/atomics
type
Node = ptr object
# works
next: Atomic[pointer]
MyChannel = object
# type not defined completely
back: Atomic[ptr int]
static:
echo sizeof(NThe 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
-
Updated
Jul 14, 2020 - TypeScript
On recent bi-weekly meeting we talked about lint system. Currently we have very basic rules for ts-lint but first of all it only for internal usage and development process, secondary it pretty basic and don't cover all special cases and finally it based on ts-lint which not so powerful as eslint which already supported by typescript. So basic plan:
- Migrate to eslint;
- Add more custom
Are there any plans to submit SWC to the Kangax compatibility table. This is my (and I think most web developer's) goto resource when trying to determine which ES features a given project supports. It includes all common web browsers, as well as babel and typescript. I believe it also comes with a test suite.
https://kangax.github.io/compat-table/es6/ (+ the next version).
I would love to us
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
When I compile the following code with 0.5.0+652efe38b
const builtin = @import("builtin");
pub fn WinMainCRTStartup() callconv(.Stdcall) u32 {
return 0;
}
comptime {
@export(WinMainCRTStartup, .{ .name = "WinMainCRTStartup" });
}
(You may note that I do not call ExitProcess, but simply return, it's OK for Win32)
I see that application imports a long list of complete
Quick Summary:
Packages that use a lower case readme.md and/or license won't have those files uncompressed locally in the cache from the package zip archive.
SSCCE
$ elm init
$ elm install gampleman/elm-visualization
This package uses a lowercase readme.md:
https://github.com/gampleman/elm-visualization/blob/2.1.1/readme.md
Then
$ ls ~/.elm/0.19
As documented in #5392 using the packages for tflite and tensorflow 2.1.0 the test as in the subject line segfaults. It has now been skipped in the testsuite but this needs to be fixed.
The CUDA datetime tests (numba.cuda.tests.cudapy.test_datetime) only test with datetime[D] - testing with other units would be a good idea.
I also can't find any reference to datetimes being supported on CUDA in the documentation - some explicit mention that they are supported would be helpful.
-
Updated
May 29, 2020 - JavaScript
Eclipse OMR is a C/C++ toolkit for building language runtimes. OMR has a high level JIT compilation library called JitBuilder, which is built on OMR's more general compilation framework. We also have a demo VM called [Base9](https://github.com/b9org/
https://caml.inria.fr/pub/docs/manual-ocaml/manual042.html
We can do this for Belt.Map as well
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
When using asciidoctot.js with object-hash, object-hash will throw error during hashing Object.__proto__.constructor, because it finds the $$base_module property on Object.__proto__.constructor, then try to hash it.
The $$base_module property on Object.__proto__.constructor is enumerable:

Bug report