Skip to content
#

interpreter

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

dankegel
dankegel commented Jun 29, 2022

Given the invalid command

let x/x

bash rightfully complains:

$ let x/x
bash: let: x/x: division by 0 (error token is "x")

but gosh panics:

$ go run cmd/gosh/main.go
$ let x/x
panic: runtime error: integer divide by zero

goroutine 1 [running]:
mvdan.cc/sh/v3/expand.binArit(0x111540?, 0x589de0?, 0xc000122f28?)
	/home/dank/src/sh/expand/arith.go:173 +0x245
mv

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 Aug 7, 2022
  • Red
boa
RageKnify
RageKnify commented Aug 6, 2022

Describe the bug
boa_cli crashes when the .boa_history does not exist. I think this was introduced in #1809 with the rustyline update.

To Reproduce
In the project directory you can change .boa_history's name to .boa_history.bak and try to run cargo run, it will exit with "No such file or directory".

Expected behavior
The code below should be modified to create the hi

bug Something isn't working good first issue Good for newcomers E-Easy Easy cli Issues and PRs related to the Boa command line interface.
root
ikabadzhov
ikabadzhov commented Jul 7, 2022

If the underlying TChain has no name (""), then the output of SaveGraph is far from helpful.
The following script:

#include<ROOT/RDataFrame.hxx>
#include<ROOT/RDFHelpers.hxx>
#include<TSystem.h>

using namespace ROOT;

int main(){
  ROOT::RDataFrame(1).Define("x", "42").Snapshot("t", "f.root");

  TChain ch("");
  ch.Add("f.root?#t");
  RDataFrame df(ch);
  auto df2 = df.Coun
pocketlang
billy4479
billy4479 commented Jul 14, 2021

This is a config file for clang-format, a tool that is already used by many editors and adopted by many projects to format the code and ensure that the style is consistent.
It could even be used as a git hook or in the CI/CD workflow to ensure that new patches respect the coding style.
A config can derive from other preexisting configs (like Google's, LLVM's or Mozilla's) so it's not a big eff

good first issue Good for newcomers TODO It hasn't implemented yet.

Improve this page

Add a description, image, and links to the interpreter 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 interpreter topic, visit your repo's landing page and select "manage topics."

Learn more