Skip to content

Instantly share code, notes, and snippets.

View mossheim's full-sized avatar
🦎

moss heim mossheim

🦎
  • Ableton
  • Berlin, Germany
View GitHub Profile
@mossheim
mossheim / sclangTests.md
Last active March 1, 2017 05:18
Regression tests for the SuperCollider lexer, parser, and interpreter.

sclang Tests

TL;DR: Regression tests for the SuperCollider lexer, parser, and interpreter.

Brian Heim, 28 jan 2017

Overview

This document proposes the form and high-level implementation details of a series of rigorous regression tests for the SuperCollider lexer, parser, and interpreter.

@mossheim
mossheim / sclangOutput.md
Last active February 23, 2017 17:51
Standardization of messages posted by sclang and of controls for their verbosity.

Standardization of sclang Output Verbosity

TL;DR: Standardization of messages posted by sclang and of controls for their verbosity.

Brian Heim, 29 jan 2017

Overview

This document sketches a specification for the standardization and elaboration

/* Untitled.sc (TODO: Actual name for class)
*
* Tests for the SuperCollider 3 lexer, parser, compiler
* Original author: Brian Heim 2017-02-19
* This code is licensed under the GPLv3
*
* Note: performance really matters for some of these things. I
* did a lot of intense benchmarking and came up with low-level
* functions and loops that are blazingly fast for SC. I left in
* my old code in some cases so you can benchmark yourself if
@mossheim
mossheim / buildwarnings.txt
Created March 6, 2017 15:59
Warnings generated by gcc-6.3 while building SuperCollider with boost-1.63 (https://github.com/supercollider/supercollider/pull/2772)
C:/Users/brianheim/sc/supercollider/external_libraries/TLSF-2.4.6/src/tlsf.c: In function 'init_memory_pool':
C:/Users/brianheim/sc/supercollider/external_libraries/TLSF-2.4.6/src/tlsf.c:493:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if (((unsigned long) mem_pool & PTR_MASK)) {
^
C:/Users/brianheim/sc/supercollider/external_libraries/TLSF-2.4.6/src/tlsf.c: In function 'add_new_area':
C:/Users/brianheim/sc/supercollider/external_libraries/TLSF-2.4.6/src/tlsf.c:553:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if ((unsigned long) ib1 == (unsigned long) lb0 + BHDR_OVERHEAD) {
^
C:/Users/brianheim/sc/supercollider/external_libraries/TLSF-2.4.6/src/tlsf.c:553:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if ((unsigned long) ib1 == (unsigned long) lb0 + BHDR_OVERHEAD) {
@mossheim
mossheim / Supercollider-CONTRIBUTING.md
Last active April 28, 2017 18:32
Draft CONTRIBUTING.md for the SuperCollider repo

Contributing to SuperCollider

First and foremost, thank you! We appreciate that you want to contribute to SuperCollider. Your time is valuable, and your contributions mean a lot to us.

What does "contributing" mean?

Creating an issue is the simplest form of contributing to a project. But there are many ways to contribute, including the following:

  • Updating or correcting documentation
  • Feature requests
@mossheim
mossheim / Supercollider-ISSUE_TEMPLATE.md
Created April 18, 2017 14:50
Draft issue template for SuperCollider

Prerequisites

  • Have you searched for existing issues (open and close) to see if the bug or feature request has already been reported?
  • If this is a bug report, are you running the latest version of SuperCollider? If not, please update to the latest version and verify that the issue still occurs before proceding.
  • Have you read the Contributing Guide?
  • Are you creating an issue in the correct repository? (if this related to a dependency, please create the issue on that repository)

Ready? Great! Please provide the following details:

System information

@mossheim
mossheim / SuperCollider-PR_TEMPLATE.md
Last active April 18, 2017 15:05
Draft Pull request template for SuperCollider

Purpose

Motivation and Context

@mossheim
mossheim / Supercollider-ISSUE_TEMPLATE_2.md
Last active April 28, 2017 08:37
Draft Issue template for supercollider (v2)

Expected Behavior

Current Behavior

// WARNING: This test script will muck your sclang_conf.yaml file. Back it up before running!
(
// these should give consistent results between old and new versions
// test on non-ASCII user
thisProcess.platform.userHomeDir.postln;
thisProcess.platform.systemAppSupportDir.postln;
thisProcess.platform.userAppSupportDir.postln;
thisProcess.platform.systemExtensionDir.postln;
thisProcess.platform.userExtensionDir.postln;
C:\Users\brianheim
C:\Users\brianheim\AppData\Roaming\SuperCollider
C:\Users\brianheim\AppData\Local\SuperCollider
C:\Users\brianheim\AppData\Local\SuperCollider\Extensions
C:\Users\brianheim\AppData\Local\SuperCollider\Extensions
C:\Users\brianheim\AppData\Local\SuperCollider
C:\Users\brianheim\git\supercollider\build\editors\sc-ide\Debug
C:\Users\brianheim\Documents
scqt
C:\Users\brianheim