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,523 public repositories matching this topic...

next.js
jonaskuske
jonaskuske commented Apr 1, 2020

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 ...
svelte
joshbruce
joshbruce commented Apr 13, 2020

miracles

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:

  1. Spec-compliance, semver, and a 1.0 release
  2. Make Marked more extensible ra
Nim
mratsim
mratsim commented Nov 24, 2019

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(N
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
assemblyscript
MaxGraey
MaxGraey commented Dec 6, 2019

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:

  1. Migrate to eslint;
  2. Add more custom
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

adontz
adontz commented Feb 21, 2020

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

numba
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

You can’t perform that action at this time.