commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
f6a366f4453fcd34232c27f374245b33a2ca93e6
src/Muffin.Pictures.Archiver/TagRetriever.fs
src/Muffin.Pictures.Archiver/TagRetriever.fs
namespace Muffin.Pictures.Archiver open System.Diagnostics open FSharp.Data open FSharp open System.IO module TagRetriever = type Tags = JsonProvider<"example_exiftool_output.json"> let private exifFileName = if System.Type.GetType ("Mono.Runtime") <> null then "exiftool" else ...
namespace Muffin.Pictures.Archiver open System.Diagnostics open FSharp.Data open FSharp open System.IO module TagRetriever = type Tags = JsonProvider<"example_exiftool_output.json"> let private exifFileName = if System.Type.GetType ("Mono.Runtime") <> null then "exiftool" else ...
Allow for spaces in exif target folder
Allow for spaces in exif target folder
F#
unlicense
koenmetsu/Muffin.Pictures.Archiver,koenmetsu/Muffin.Pictures.Archiver
2edf83565ce0fb7e99c36a85ee8960de3f3d045a
WebSharper.Leaflet.Tests/Main.fs
WebSharper.Leaflet.Tests/Main.fs
namespace WebSharper.Leaflet.Tests open WebSharper.Html.Server open WebSharper open WebSharper.Sitelets type Action = | Home module Controls = [<Sealed>] type EntryPoint() = inherit Web.Control() [<JavaScript>] override __.Body = Client.Main() :> _ ...
namespace WebSharper.Leaflet.Tests open WebSharper.Html.Server open WebSharper open WebSharper.Sitelets type Action = | Home module Controls = [<Sealed>] type EntryPoint() = inherit Web.Control() [<JavaScript>] override __.Body = Client.Main() :> _ ...
Fix test for streamlined sitelets
Fix test for streamlined sitelets
F#
apache-2.0
intellifactory/websharper.leaflet,intellifactory/websharper.leaflet
1e36d53eb55155b984911b1aa9067fc2a9175df4
Rezoom.SQL/Backend.fs
Rezoom.SQL/Backend.fs
namespace Rezoom.SQL open System open System.Data open System.Data.Common open System.Collections.Generic open Rezoom.SQL.Mapping open Rezoom.SQL open FSharp.Quotations type IParameterIndexer = abstract member ParameterIndex : parameter : BindParameter -> int type ParameterTransform = { ParameterType : DbT...
namespace Rezoom.SQL open System open System.Data open System.Data.Common open System.Collections.Generic open Rezoom.SQL.Mapping open Rezoom.SQL open FSharp.Quotations type IParameterIndexer = abstract member ParameterIndex : parameter : BindParameter -> int type ParameterTransform = { ParameterType : DbT...
Handle FSharpOption parameters to generated queries.
Handle FSharpOption parameters to generated queries.
F#
mit
rspeele/Rezoom.SQL
92cb56af14670c81d05badf519011f0c6bc211ed
FsSql/OptionExtensions.fs
FsSql/OptionExtensions.fs
module Option open System /// Maps DBNull to None, otherwise Some x let fromDBNull (o: obj): 'a option = try if o = null || DBNull.Value.Equals o then None else Some (unbox o) with :? InvalidCastException as e -> let msg = sprintf "Can't cast '%s' to '%s'" ...
module Option open System /// Maps DBNull to None, otherwise Some x let fromDBNull (o: obj): 'a option = try if o = null || DBNull.Value.Equals o then None else Some (unbox o) with :? InvalidCastException as e -> let msg = sprintf "Can't cast '%s' to '%s'" ...
Use defaultArg instead of pattern match.
Use defaultArg instead of pattern match.
F#
apache-2.0
mausch/FsSql
862ec9c43b499f899e4e1c7d6d1c5136c9cdf3aa
Rexcfnghk.MarkSixParser/Rexcfnghk.MarkSixParser.Tests/Properties.fs
Rexcfnghk.MarkSixParser/Rexcfnghk.MarkSixParser.Tests/Properties.fs
module Properties open System open Models open FsCheck.Xunit open Swensen.Unquote [<Property>] let ``drawRandom always returns six elements`` () = let numbers = MarkSix.drawNumbers () numbers.Length =! 6 [<Property>] let ``drawRandom always returns numbers between 1 and 49`` () = let isWit...
module Properties open System open Models open FsCheck.Xunit open Swensen.Unquote [<Property>] let ``drawRandom always returns six elements`` () = let numbers = MarkSix.drawNumbers () numbers.Length =! 6 [<Property>] let ``drawRandom always returns numbers between 1 and 49`` () = let isWit...
Fix range error in unit test
Fix range error in unit test
F#
mit
rexcfnghk/marksix-parser
93f65d2b6810a786a10846ba8659dc9424524cc5
src/example/Slumber.Example/Startup.fs
src/example/Slumber.Example/Startup.fs
namespace Slumber.Example open System open System.Runtime.Serialization module Startup = open Slumber open Slumber.Common.Http [<AutoOpen>] module Model = [<DataContract (Name = "service")>] type Service = { [<field: DataMember (Name = "name")>] Name : String; ...
namespace Slumber.Example open System open System.Runtime.Serialization module Startup = open Slumber open Slumber.Common.Http [<AutoOpen>] module Model = [<DataContract (Name = "service", Namespace = "")>] type Service = { [<field: DataMember (Name = "name")>] N...
Update startup/root model to exclude data contract namespace from XML.
Update startup/root model to exclude data contract namespace from XML.
F#
mit
wattsm/slumber
1c477915159273bde1d178d4f9cc94017ee52026
Rexcfnghk.MarkSixParser/Rexcfnghk.MarkSixParser/Validations.fs
Rexcfnghk.MarkSixParser/Rexcfnghk.MarkSixParser/Validations.fs
namespace Rexcfnghk.MarkSixParser type ErrorMessage = ErrorMessage of string [<StructuredFormatDisplay("{AsString}")>] type ValidationResult<'T> = | Success of 'T | Error of ErrorMessage override this.ToString() = match this with | Success s -> sprintf "%A" s | Error e -> sprintf ...
namespace Rexcfnghk.MarkSixParser type ErrorMessage = ErrorMessage of string [<StructuredFormatDisplay("{AsString}")>] type ValidationResult<'T> = | Success of 'T | Error of ErrorMessage override this.ToString() = match this with | Success s -> sprintf "%A" s | Error e -> sprintf ...
Remove unused operator and function
Remove unused operator and function
F#
mit
rexcfnghk/marksix-parser
368917f0617ab6eda24f5cfac7bbf5fd6ac94526
src/Deedle/Common/Attributes.fs
src/Deedle/Common/Attributes.fs
namespace FSharp.Data // Make the internals visible to the Testing library // (This is only used in limited way - so that the tests // can be also executed from F# interactive) [<assembly:System.Runtime.CompilerServices.InternalsVisibleTo("Deedle.Tests")>] // The R plugin uses internals for more efficient conversions...
namespace FSharp.Data // Make the internals visible to the Testing library // (This is only used in limited way - so that the tests // can be also executed from F# interactive) [<assembly:System.Runtime.CompilerServices.InternalsVisibleTo("Deedle.Tests")>] // The R plugin uses internals for more efficient conversions...
Add Extension attribute in the right place
Add Extension attribute in the right place
F#
bsd-2-clause
buybackoff/Deedle,AtwooTM/Deedle,Dependencies/Deedle,Dependencies/Deedle,filmor/Deedle,AtwooTM/Deedle,BlueMountainCapital/Deedle,jeyoor/Deedle,jeyoor/Deedle,tpetricek/Deedle,BlueMountainCapital/Deedle,filmor/Deedle,AtwooTM/Deedle,Dependencies/Deedle,caioproiete/Deedle,BlueMountainCapital/Deedle,caioproiete/Deedle,buyba...
677e5f8e1c41a926561b6163d9132c52553b4caa
Ranges.fs
Ranges.fs
open System let FS = 10000 let PS = 200 let rec ranges a b = let minpack = (b-a) / PS let minfrag = (b-1) / FS let savebytes = Math.Max(minpack,minfrag) //printf "minpack = %d\n" minpack let smalla = Math.Max (Math.Min (a-savebytes,FS), 0) let smallb = Math.Min (Math.Min (PS+smalla...
module Ranges open System let FS = 10000 let PS = 200 let ranges a b = let minpack = (b-a) / PS let minfrag = (b-1) / FS let savebytes = Math.Max(minpack,minfrag) let smalla = Math.Max (Math.Min (a-savebytes,FS), 0) let smallb = Math.Min (Math.Min (PS+smalla, FS), b) ((smalla,sm...
Implement actual distribution of content inside ranges
Implement actual distribution of content inside ranges
F#
apache-2.0
alexanderkyte/mitls-f7,alexanderkyte/mitls-f7,alexanderkyte/mitls-f7,alexanderkyte/mitls-f7,alexanderkyte/mitls-f7
d1e2ca3163f5f3a70bf0ffb8e98e414da223b33c
build.fsx
build.fsx
#load "tools/includes.fsx" open IntelliFactory.Build let bt = BuildTool().PackageId("WebSharper.Google.Maps.MarkerClusterer") .VersionFrom("WebSharper") .WithFSharpVersion(FSharpVersion.FSharp30) .WithFramework(fun fw -> fw.Net40) .References(fun r -> [ ...
#load "tools/includes.fsx" open IntelliFactory.Build let bt = BuildTool().PackageId("WebSharper.Google.Maps.MarkerClusterer") .VersionFrom("WebSharper") .WithFSharpVersion(FSharpVersion.FSharp30) .WithFramework(fun fw -> fw.Net40) .References(fun r -> [ ...
Add ForceFoundVersion on the Google.Maps dependency
Add ForceFoundVersion on the Google.Maps dependency
F#
apache-2.0
intellifactory/websharper.google.maps.markerclusterer
1a4353587176431f9636c964f8dd769e26f48444
XSVim/Properties/AssemblyInfo.fs
XSVim/Properties/AssemblyInfo.fs
namespace XSVim open System.Reflection open System.Runtime.CompilerServices [<AutoOpen>] module AddinVersion = [<Literal>] let version = "0.65.11.81" [<assembly: AssemblyTitle("XSVim")>] [<assembly: AssemblyVersion(version)>] //[<assembly: AssemblyDelaySign(false)>] //[<assembly: AssemblyKeyFile("")>] ()...
namespace XSVim open System.Reflection open System.Runtime.CompilerServices [<AutoOpen>] module AddinVersion = [<Literal>] let version = "0.65.11.82" [<assembly: AssemblyTitle("XSVim")>] [<assembly: AssemblyVersion(version)>] //[<assembly: AssemblyDelaySign(false)>] //[<assembly: AssemblyKeyFile("")>] ()...
Rename key binding scheme to avoid clash with VSVim
Rename key binding scheme to avoid clash with VSVim
F#
mit
nosami/XSVim
cf3894403993e1557da78a92659ddf1371103f84
src/app/FakeLib/MessageHelper.fs
src/app/FakeLib/MessageHelper.fs
[<AutoOpen>] module Fake.MessageHelper /// Waits for other applications to create a output files /// if the timeout is reached an exception will be raised let WaitForMessageFiles files timeOut = let files = Seq.cache files tracefn "Waiting for message files %A (Timeout: %A)" files timeOut let watch = new...
[<AutoOpen>] module Fake.MessageHelper /// Waits for other applications to create a output files /// if the timeout is reached an exception will be raised let WaitForMessageFiles files timeOut = let files = Seq.cache files tracefn "Waiting for message files %A (Timeout: %A)" files timeOut let watch = new...
Use small delay for message file.
Use small delay for message file.
F#
apache-2.0
jayp33/FAKE,ArturDorochowicz/FAKE,gareth-evans/FAKE,Kazark/FAKE,ilkerde/FAKE,pmcvtm/FAKE,ArturDorochowicz/FAKE,ilkerde/FAKE,mglodack/FAKE,leflings/FAKE,MiloszKrajewski/FAKE,MichalDepta/FAKE,MiloszKrajewski/FAKE,neoeinstein/FAKE,hitesh97/FAKE,rflechner/FAKE,ilkerde/FAKE,Kazark/FAKE,pacificIT/FAKE,ovu/FAKE,featuresnap/FA...
f6737065a611caa8a1f12ce46001ffa6ef5b28d8
src/Farkle/Monads.fs
src/Farkle/Monads.fs
// Copyright (c) 2017 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT namespace Farkle.Monads open System /// [omit] module internal Either = type EitherBuilder() = member __.Zero() = Ok () member __.Bind(m, f) = Result.bind f m ...
// Copyright (c) 2017 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT namespace Farkle.Monads /// [omit] module internal Either = let rec doWhile fGuard fBody = if fGuard() then match fBody() with | Ok () -> doWhile ...
Optimize the Either monad, particularly the implementations of Dispose, While and For.
Optimize the Either monad, particularly the implementations of Dispose, While and For.
F#
mit
teo-tsirpanis/Farkle
0b23878a66b72a6c069412701be87eb7ae832a91
src/CustomTargets.fsx
src/CustomTargets.fsx
open Fake Target "Dotnet Restore" (fun _ -> DotNetCli.Restore(fun p -> { p with Project = ".\\SFA.DAS.Account.Api.Client" }) DotNetCli.Restore(fun p -> { p with Project = ".\\SFA.DAS.EAS.Account.Api.Types" }) )
open Fake let testDirectory = getBuildParamOrDefault "buildMode" "Debug" let nUnitRunner = "nunit3-console.exe" let mutable nUnitToolPath = @"tools\NUnit.ConsoleRunner\" let acceptanceTestPlayList = getBuildParamOrDefault "playList" "" let nunitTestFormat = getBuildParamOrDefault "nunitTestFormat" "nunit2" Target "Do...
Add custom test runner target
Add custom test runner target
F#
mit
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
e221918d5e9c08b16bf6fb56949aa54eb3d695d1
src/fable-library/System.Text.fs
src/fable-library/System.Text.fs
namespace System.Text type StringBuilder(value: string, capacity: int) = let buf = ResizeArray<string>(capacity) do if not(isNull value) then buf.Add(value) new (capacity: int) = StringBuilder(null, capacity) new (value: string) = StringBuilder(value, 16) new () = StringBuilder(null, 16) member...
namespace System.Text type StringBuilder(value: string, capacity: int) = let buf = ResizeArray<string>(capacity) do if not(isNull value) then buf.Add(value) new (capacity: int) = StringBuilder(null, capacity) new (value: string) = StringBuilder(value, 16) new () = StringBuilder(null, 16) member...
Add Length and Substring with firstIndex and length in StringBuilder
Add Length and Substring with firstIndex and length in StringBuilder
F#
mit
fable-compiler/Fable,ncave/Fable,fable-compiler/Fable,fable-compiler/Fable,inosik/Fable,ncave/Fable,fable-compiler/Fable,ncave/Fable,fable-compiler/Fable,ncave/Fable,ncave/Fable,ncave/Fable,fable-compiler/Fable,fable-compiler/Fable,inosik/Fable,ncave/Fable
6478c4177a5ec02dcf35d24dfd63ba4c08df47c6
FakeDemo/build.fsx
FakeDemo/build.fsx
#r "packages/FAKE/tools/FakeLib.dll" // 1 open Fake // 2 open Fake.XamarinHelper let buildDir = "FakeDemo/bin/Debug" Target "Clean" (fun _ -> CleanDir buildDir ) Target "Test" (fun _ -> // 3 trace "Testing stuff..." ) Target "BuildPcl" (fun _ -> //RestorePackages () !! "FakeDemo.csproj" |> ...
#r "packages/FAKE/tools/FakeLib.dll" open Fake open Fake.XamarinHelper let buildDir = "FakeDemo/bin/Debug" Target "Clean" (fun _ -> CleanDir buildDir ) Target "Test" (fun _ -> trace "Testing stuff..." ) Target "BuildPcl" (fun _ -> RestorePackages () !! "FakeDemo.csproj" |> MSBuild "FakeDemo...
Remove comments from part 1
Remove comments from part 1
F#
mit
Wintellect/XamarinSamples,Wintellect/XamarinSamples
f8e7ca8e061a84752ae7729d25f6cbc9c3a3f66b
slof/fs/archsupport.fs
slof/fs/archsupport.fs
\ ***************************************************************************** \ * Copyright (c) 2011 IBM Corporation \ * All rights reserved. \ * This program and the accompanying materials \ * are made available under the terms of the BSD License \ * which accompanies this distribution, and is available at \ * http:...
\ ***************************************************************************** \ * Copyright (c) 2011 IBM Corporation \ * All rights reserved. \ * This program and the accompanying materials \ * are made available under the terms of the BSD License \ * which accompanies this distribution, and is available at \ * http:...
Increase FDT buffer size to accomodate larger ibm, cas node properties
cas: Increase FDT buffer size to accomodate larger ibm, cas node properties When QEMU starts with a higher value of maxmem, ibm,dynamic-memory property under ibm,client-architecture-support device tree node can consume a large FDT buffer space. Accommodate this by increasing the FDT buffer size passed from SLOF to QE...
F#
bsd-3-clause
open-power-host-os/slof,stefanberger/SLOF-tpm,qemu/SLOF,qemu/SLOF,stefanberger/SLOF-tpm,aik/SLOF,open-power-host-os/slof,stefanberger/SLOF-tpm,open-power-host-os/slof,aik/SLOF,aik/SLOF,qemu/SLOF,open-power-host-os/slof
b044d0560f5570e2cd919dd717064bca5a35b6df
fsharp-refactor-tests/RenameTests.fs
fsharp-refactor-tests/RenameTests.fs
namespace FSharpRefactor.Tests.RenameTests open NUnit.Framework open FSharpRefactor.Engine.Ast open FSharpRefactor.Refactorings.Rename [<TestFixture>] type ScopeTreeModule() = [<Test>] member this.``Creates a scope tree for a simple let statement``() = let source = "let a = 1 in a" let rootNo...
namespace FSharpRefactor.Tests.RenameTests open NUnit.Framework open FSharpRefactor.Engine.Ast open FSharpRefactor.Refactorings.Rename [<TestFixture>] type ScopeTreeModule() = [<Test>] member this.``Creates a scope tree for a simple let statement``() = let source = "let a = 1 in a" let rootNo...
Add another test for makeScopeTree
Add another test for makeScopeTree
F#
apache-2.0
Lewix/fsharp-refactor,Lewix/fsharp-refactor
5f29982c0b3bd027e3f613531dc79a998cf5ef76
Wireclub.iOS/Credits.fs
Wireclub.iOS/Credits.fs
// Copyright (c) Wireclub Media Inc. All Rights Reserved. See License.md in the project root for license information. namespace Wireclub.iOS open System open System.Drawing open System.Linq open System.Collections.Concurrent open System.Collections.Generic open System.Text.RegularExpressions open MonoTouch.Foundati...
// Copyright (c) Wireclub Media Inc. All Rights Reserved. See License.md in the project root for license information. namespace Wireclub.iOS open System open System.Drawing open System.Linq open System.Collections.Concurrent open System.Collections.Generic open System.Text.RegularExpressions open MonoTouch.Foundati...
Load a basic list of products
Load a basic list of products
F#
mit
rolfbjarne/Wireclub.iOS
6dca611ff3faa9fccf916ac238529fa0c5015cc4
board-qemu/slof/pci-interrupts.fs
board-qemu/slof/pci-interrupts.fs
: pci-gen-irq-map-one ( prop-addr prop-len slot pin -- prop-addr prop-len ) 2dup + 1- 3 and 1+ ( prop-addr prop-len slot pin parentpin ) >r >r ( prop-addr prop-len slot R: swizzledpin pin ) \ Child slot# B lshift encode-int+ ( prop-addr prop-len R:...
: pci-gen-irq-map-one ( prop-addr prop-len slot pin -- prop-addr prop-len ) 2dup + 1- 3 and 1+ ( prop-addr prop-len slot pin parentpin ) >r >r ( prop-addr prop-len slot R: swizzledpin pin ) \ Child slot# B lshift encode-int+ ( prop-addr prop-len R:...
Allow PCI devices in PCI bridge slots greater than 4
Allow PCI devices in PCI bridge slots greater than 4 PCI bridges can have up to 31 slots. If we limit the value from pci-addr2dev with "modulo 4", all devices in slots 4 and higher won't work correctly since the interrupt-map property then contains wrong values in this case. For example, when QEMU is started with the...
F#
bsd-3-clause
aik/SLOF,aik/SLOF,qemu/SLOF,open-power-host-os/slof,qemu/SLOF,open-power-host-os/slof,stefanberger/SLOF-tpm,qemu/SLOF,open-power-host-os/slof,aik/SLOF,open-power-host-os/slof,stefanberger/SLOF-tpm,stefanberger/SLOF-tpm
403a71928ca40ee3b305425b5993077140d5b712
PrettyTests.fs
PrettyTests.fs
/// <summary> /// Test module for the pretty printer module. /// </summary> module Starling.Tests.Pretty open NUnit.Framework open Starling open Starling.Core.Var open Starling.Lang.AST open Starling.Lang.AST.Pretty /// Tests for the pretty printer. type PrettyTests() = /// Test cases for printExpression. ...
/// <summary> /// Test module for the pretty printer module. /// </summary> module Starling.Tests.Pretty open NUnit.Framework open Starling open Starling.Utils.Testing open Starling.Core.Var open Starling.Lang.AST open Starling.Lang.AST.Pretty /// <summary> /// Tests for <see cref="printExpression"/>. /// </s...
Rewrite pretty printer tests to style
Rewrite pretty printer tests to style
F#
mit
septract/starling-tool,septract/starling-tool
1e88b785c37fde9cbd633da329092dedb2e190de
src/app/FakeLib/GACHelper.fs
src/app/FakeLib/GACHelper.fs
/// This module contains helper function for the GAC module Fake.GACHelper open System /// GAC parameters type GACParams = { /// (Required) Path to the gacutil ToolPath : string /// The timeout for the process. TimeOut : TimeSpan /// The directory where the process will be started. ...
/// This module contains helper function for the GAC module Fake.GACHelper open System /// Path to newest `gacutil.exe` let gacutilToolPath = !! (sdkBasePath + "/**/gacutil.exe") |> getNewestTool /// GAC parameters type GACParams = { /// (Required) Path to the gacutil ToolP...
Replace hard reference on gacutil path with automatic search for latest gacutil.exe
Replace hard reference on gacutil path with automatic search for latest gacutil.exe The existing path "Microsoft SDKs/Windows/v8.0A/bin/NETFX 4.0 Tools/gacutil.exe" doesn't exist on a Win 10 + Visual Studio 2015 dev environment. RegAsmHelper solves a similar problem by searching for the latest regasm tools path (using...
F#
apache-2.0
RMCKirby/FAKE,MiloszKrajewski/FAKE,beeker/FAKE,RMCKirby/FAKE,beeker/FAKE,mglodack/FAKE,brianary/FAKE,mglodack/FAKE,Kazark/FAKE,rflechner/FAKE,rflechner/FAKE,MiloszKrajewski/FAKE,MichalDepta/FAKE,MichalDepta/FAKE,MiloszKrajewski/FAKE,mglodack/FAKE,rflechner/FAKE,RMCKirby/FAKE,MichalDepta/FAKE,Kazark/FAKE,beeker/FAKE,bri...
6638df418430874d632c5b3c80ac5a55fba6a181
Rexcfnghk.MarkSixParser.Tests/ValidationResultTests.fs
Rexcfnghk.MarkSixParser.Tests/ValidationResultTests.fs
module Rexcfnghk.MarkSixParser.Tests.ValidationResultTests open FsCheck.Xunit open Xunit open Swensen.Unquote open Rexcfnghk.MarkSixParser [<Fact>] let ``retryable should be able to succeed eventually`` () = let mutable initial = 1 let tester i = if i > 1 then ValidationResult.success i ...
module Rexcfnghk.MarkSixParser.Tests.ValidationResultTests open FsCheck.Xunit open Xunit open Swensen.Unquote open Rexcfnghk.MarkSixParser open Rexcfnghk.MarkSixParser.ValidationResult [<Fact>] let ``retryable should be able to succeed eventually`` () = let mutable initial = 1 let tester i = if i > ...
Add property to test ValidationResult module
Add property to test ValidationResult module
F#
mit
rexcfnghk/marksix-parser
aede66f8ca321a1f553d1e3d3779eda9349586bc
board-qemu/slof/pci-interrupts.fs
board-qemu/slof/pci-interrupts.fs
: pci-gen-irq-map-one ( prop-addr prop-len slot pin -- prop-addr prop-len ) 2dup + 4 mod ( prop-addr prop-len slot pin parentpin ) >r >r ( prop-addr prop-len slot R: swizzledpin pin ) \ Child slot# B lshift encode-int+ ( prop-addr prop-len R:...
: pci-gen-irq-map-one ( prop-addr prop-len slot pin -- prop-addr prop-len ) 2dup + 1- 3 and 1+ ( prop-addr prop-len slot pin parentpin ) >r >r ( prop-addr prop-len slot R: swizzledpin pin ) \ Child slot# B lshift encode-int+ ( prop-addr prop-len R:...
Fix bad interrupt pin numbering in interrupt-map property of PCI bridges
Fix bad interrupt pin numbering in interrupt-map property of PCI bridges The legacy PCI interrupts in the device tree are enumerated from 1 to 4. However, the code in pci-gen-irq-map-one generates numbers between 0 and 3 instead. This renders devices unusable by Linux in case they should use IRQ 4. For example, when s...
F#
bsd-3-clause
aik/SLOF,stefanberger/SLOF-tpm,qemu/SLOF,open-power-host-os/slof,stefanberger/SLOF-tpm,open-power-host-os/slof,stefanberger/SLOF-tpm,open-power-host-os/slof,open-power-host-os/slof,qemu/SLOF,aik/SLOF,aik/SLOF,qemu/SLOF
6d6afe29a278fc2d1db7426ce123f722aa5fe82d
tests/FSharpx.TypeProviders.Documents.Tests/InferenceTests.fs
tests/FSharpx.TypeProviders.Documents.Tests/InferenceTests.fs
module FSharpx.TypeProviders.Tests.JSON.InferenceTests open NUnit.Framework open FSharpx open FsUnit //type XmlCellSet = StructuredXml<Schema="""<CellSet><Row key="base64"><Cell timestamp="1349209076311" column="cGw6eG1s">base64</Cell></Row></CellSet>"""> // //type JsonCellSet = StructuredJSON<Schema="""{"Row":[{"ke...
module FSharpx.TypeProviders.Tests.JSON.InferenceTests open NUnit.Framework open FSharpx open FsUnit type XmlCellSet = StructuredXml<Schema="""<CellSet><Row key="base64"><Cell timestamp="1349209076311" column="cGw6eG1s">base64</Cell></Row></CellSet>"""> type JsonCellSet = StructuredJSON<Schema="""{"Row":[{"key":"ba...
Revert "DateInference Tests don't work"
Revert "DateInference Tests don't work" This reverts commit 960c4a7954d9cabf04ba2bbec6628cc54a793ca6.
F#
unlicense
fsprojects/FSharpx.Extras,bryanedds/FSharpx.Extras,fsprojects/FSharpx.Extras,bryanedds/FSharpx.Extras,sideeffffect/FSharpx.Extras,bryanedds/FSharpx.Extras,sideeffffect/FSharpx.Extras
542917199b5f72496349121c7cece3f14d7dee0e
VisualStudio/Simple.Web/TemplatePack/ProjectTemplates/Web/Simple.Web/OwinAppSetup.fs
VisualStudio/Simple.Web/TemplatePack/ProjectTemplates/Web/Simple.Web/OwinAppSetup.fs
module OwinAppSetup open System open System.Collections.Generic open System.Threading.Tasks open Simple.Web type UseAction = Action<Func<IDictionary<string, obj>, Func<IDictionary<string, obj>, Task>, Task>> type OwinAppSetup() = static member Setup(useMethod:UseAction) = Application.LegacyStaticContent...
module OwinAppSetup open System open System.Collections.Generic open System.Threading.Tasks open Simple.Web type UseAction = Action<Func<IDictionary<string, obj>, Func<IDictionary<string, obj>, Task>, Task>> type OwinAppSetup() = static member Setup(useMethod:UseAction) = Application.LegacyStaticContent...
Add IPathUtility to Simple.Web template
Add IPathUtility to Simple.Web template Simple.Web requires an IPathUtility to be defined somewhere and, because I removed the Simple.Web.AspNet package, we needed to define our own. (Or add the Simple.Web.AspNet package back in, along with the .cs file that comes with it.)
F#
mit
fsprojects/FSharpCommunityTemplates,ImaginaryDevelopment/FSharpCommunityTemplates,jackfoxy/FSharpCommunityTemplates,ImaginaryDevelopment/FSharpCommunityTemplates,jackfoxy/FSharpCommunityTemplates,fsprojects/FSharpCommunityTemplates,panesofglass/FSharpCommunityTemplates,panesofglass/FSharpCommunityTemplates,fsprojects/F...
b54af9dbdd588a5e635e8a3176f8cd0f5ab2d0ca
src/Farkle.Tools/Templating/BuiltinTemplates.fs
src/Farkle.Tools/Templating/BuiltinTemplates.fs
// Copyright (c) 2019 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT module Farkle.Tools.Templating.BuiltinTemplates open System.IO open System.Reflection [<RequireQualifiedAccess>] type Language = | ``F#`` [<RequireQualifiedAccess>] type Templat...
// Copyright (c) 2019 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT module Farkle.Tools.Templating.BuiltinTemplates open System.IO open System.Reflection [<RequireQualifiedAccess>] type Language = | ``F#`` member x.FullName = match x ...
Refactor the built-in template chooser.
Refactor the built-in template chooser.
F#
mit
teo-tsirpanis/Farkle
4ad45c2e60409739c0bf498e9b83ef8ae0a73daf
src/Muffin.Pictures.Archiver/Pictures.fs
src/Muffin.Pictures.Archiver/Pictures.fs
namespace Muffin.Pictures.Archiver open System open Muffin.Pictures.Archiver.Domain open Muffin.Pictures.Archiver.Rop module Pictures = let toPicture timeTakenRetriever file = let timeTaken = timeTakenRetriever file match timeTaken with | Some t -> Success { File = file; TakenOn = t } ...
namespace Muffin.Pictures.Archiver open System open Muffin.Pictures.Archiver.Domain open Muffin.Pictures.Archiver.Rop module Pictures = let toPicture timeTakenRetriever file = let timeTaken = timeTakenRetriever file match timeTaken with | Some t -> Success { File = file; TakenOn = t } ...
Use executingAssembly to define location of exiftools
Use executingAssembly to define location of exiftools
F#
unlicense
koenmetsu/Muffin.Pictures.Archiver,koenmetsu/Muffin.Pictures.Archiver
ffe7cd71f86e50b63589fbec61aa9876211a691e
src/FSharp/BigIntegerExtensions.fs
src/FSharp/BigIntegerExtensions.fs
namespace System.Numerics #if PORTABLE #if NOSYSNUMERICS #else open System [<AutoOpen>] module BigIntegerExtensions = // let rec private parseImpl (str : string) len acc i = if i = len then acc else let d = int str.[i] - int '0' if 0 <= d && d <= 9 then ...
namespace System.Numerics #if PORTABLE #if NOSYSNUMERICS #else open System [<AutoOpen>] module BigIntegerExtensions = // let rec private parseImpl (str : string) len acc i = if i = len then acc else let d = int str.[i] - int '0' if 0 <= d && d <= 9 then ...
Replace bigint.Negate because it doesn't exist in Xamarin
Replace bigint.Negate because it doesn't exist in Xamarin
F#
mit
mathnet/mathnet-numerics,albertp007/mathnet-numerics,shaia/mathnet-numerics,shaia/mathnet-numerics,shaia/mathnet-numerics,albertp007/mathnet-numerics,davidfgarcia/mathnet-numerics,davidfgarcia/mathnet-numerics,albertp007/mathnet-numerics,mathnet/mathnet-numerics,mathnet/mathnet-numerics,shaia/mathnet-numerics,mathnet/m...
87bf1714722d82b0bdc973c5410848fc191431c7
build.fsx
build.fsx
#r @"tools\FAKE\tools\FakeLib.dll" open Fake // -------------------------------------------------------------------------------------- // Definitions // -------------------------------------------------------------------------------------- // Clean build results // ------------------------------------------------...
#r @"tools\FAKE\tools\FakeLib.dll" open System.IO open System.Linq open Fake // -------------------------------------------------------------------------------------- // Definitions let binProjectName = "Orc.Sort" let testProjectName = "Orc.Sort.Tests" let netVersion = "NET40" let srcDir = @".\src\" let deployment...
Set definitions. Implemented Clean target.
Set definitions. Implemented Clean target.
F#
mit
WildGums/Orc.Sort
1889413ef5f1b5c61a4093a285ca11f3ce7a68a5
build.fsx
build.fsx
#load "tools/includes.fsx" open IntelliFactory.Build let bt = BuildTool().PackageId("WebSharper.Suave") .VersionFrom("WebSharper") .WithFramework(fun x -> x.Net45) let main = bt.WebSharper.Library("WebSharper.Suave") .SourcesFromProject() .References(fun ref -> [ ...
#load "tools/includes.fsx" open IntelliFactory.Build let bt = BuildTool().PackageId("WebSharper.Suave") .VersionFrom("WebSharper") .WithFramework(fun x -> x.Net45) let main = bt.WebSharper.Library("WebSharper.Suave") .SourcesFromProject() .References(fun ref -> [ ...
Add main to nuget package
Add main to nuget package
F#
apache-2.0
panesofglass/websharper.suave,intellifactory/websharper.suave,panesofglass/websharper.suave,intellifactory/websharper.suave
aa50191f9a5e406eab3788074ea28000295b3fc0
src/FSharpProjectServiceExtension.fs
src/FSharpProjectServiceExtension.fs
namespace FSharp.MonoDevelop open System open System.IO open MonoDevelop.Core open MonoDevelop.Ide open MonoDevelop.Projects open Mono.Addins type FSharpProjectServiceExtension() = inherit ProjectServiceExtension() override x.SupportsItem(item:IBuildTarget) = // Extend any F# project (item :? DotNetProj...
namespace FSharp.MonoDevelop open System open System.IO open MonoDevelop.Core open MonoDevelop.Ide open MonoDevelop.Projects open Mono.Addins type FSharpProjectServiceExtension() = inherit ProjectServiceExtension() override x.SupportsItem(item:IBuildTarget) = // Extend any F# project (item :? DotNetProj...
Remove PopulateSupportFileList, which was removed as an extension point.
Remove PopulateSupportFileList, which was removed as an extension point.
F#
apache-2.0
fsharp/fsharpbinding,xamarin/fsharpbinding,Ming-Tang/fsharpbinding,fsharp/xamarin-monodevelop-fsharp-addin,Ming-Tang/fsharpbinding,nosami/xamarin-monodevelop-fsharp-addin,xamarin/fsharpbinding,fsharp/fsharpbinding,Ming-Tang/fsharpbinding,fsharp/xamarin-monodevelop-fsharp-addin,fsharp/fsharpbinding,nosami/xamarin-monode...
feb460189acb8ead4c810b7fd0492d976be42800
src/Airport.fs
src/Airport.fs
module Airport open FSharp.Data open System open Util type Airports = CsvProvider<"airports.csv", CacheRows = false> type Type = | Closed | Heliport | Small | Medium | Large type Airport = { Name : string ICAO : string Coord : Coord.T Type : Type Continent ...
module Airport open FSharp.Data open System open Util type Airports = CsvProvider<"airports.csv", CacheRows = false> type Type = | Closed | Heliport | Small | Medium | Large type Airport = { Name : string ICAO : string Coord : Coord.T Type : Type Continent ...
Use meters/s over meters/hour in timeBetween
Use meters/s over meters/hour in timeBetween
F#
agpl-3.0
Acizza/srfinder,Acizza/srfinder,Acizza/srfinder,Acizza/srfinder
8a2a35374dc7536eb59ae6c55c73517063673197
src/Muffin.Pictures.Archiver/Program.fs
src/Muffin.Pictures.Archiver/Program.fs
open System open NLog open Muffin.Pictures.Archiver.Arguments open Muffin.Pictures.Archiver.CompositionRoot open Muffin.Pictures.Archiver.Runner [<EntryPoint>] let main argv = let logger = LogManager.GetCurrentClassLogger() System.AppDomain.CurrentDomain.UnhandledException.Add(fun exc -> logger.Fatal(exc....
open System open NLog open Muffin.Pictures.Archiver.Arguments open Muffin.Pictures.Archiver.CompositionRoot open Muffin.Pictures.Archiver.Runner [<EntryPoint>] let main argv = let logger = LogManager.GetCurrentClassLogger() System.AppDomain.CurrentDomain.UnhandledException.Add(fun exc -> let excOb...
Add more info to unhandled exception logging
Add more info to unhandled exception logging
F#
unlicense
koenmetsu/Muffin.Pictures.Archiver,koenmetsu/Muffin.Pictures.Archiver
3e39ef4fdf9c6da65fda70fd595d69e83c9078f6
ShopifySharp.Experimental.Tests/OrderTest.fs
ShopifySharp.Experimental.Tests/OrderTest.fs
module OrderTests open System.Collections open Xunit open ShopifySharp.Experimental let inline private (=>) a b = match b with | :? seq as b -> a, b | _ -> a, b [<Fact>] let ``Merges order properties and creation option properties`` () = let order = Orders.newOrder |> Orders.email "f...
module OrderTests open System.Collections open Xunit open ShopifySharp.Experimental let inline private (=>) a b = a, box b [<Fact>] let ``Merges order properties and creation option properties`` () = let order = Orders.newOrder |> Orders.email "foo@example.com" |> Orders.fulfillmentStatu...
Remove type matching in private map operator
Remove type matching in private map operator
F#
mit
nozzlegear/ShopifySharp,clement911/ShopifySharp
bc988c57baa1eaa95137e93699cd937f40148f55
src/WpfMath.Tests/ParserExceptionTests.fs
src/WpfMath.Tests/ParserExceptionTests.fs
module WpfMath.Tests.ParserExceptionTests open System open Xunit open WpfMath open WpfMath.Atoms open WpfMath.Exceptions open WpfMath.Parsers open WpfMath.Tests.Utils [<Fact>] let ``Non-existing delimiter should throw exception``() = let markup = @"\left x\right)" assertParseThrows<TexParseException> markup...
module WpfMath.Tests.ParserExceptionTests open System open Xunit open WpfMath open WpfMath.Atoms open WpfMath.Exceptions open WpfMath.Parsers open WpfMath.Tests.Utils [<Fact>] let ``Non-existing delimiter should throw exception``() = let markup = @"\left x\right)" assertParseThrows<TexParseException> markup...
Remove test for throw exn by
Remove test for throw exn by command `mathrm{}`
F#
mit
ForNeVeR/wpf-math
623aa78af59e17e01143df1d8dfb0aa2329733de
sum-of-multiples/SumOfMultiplesTest.fs
sum-of-multiples/SumOfMultiplesTest.fs
module SumOfMultiplesTest open NUnit.Framework open SumOfMultiples [<TestFixture>] type SumOfMultiplesTest() = let mutable sumOfMultiples = SumOfMultiples() [<Test>] member tc.Sum_to_1() = Assert.That(sumOfMultiples.To(0), Is.EqualTo(0)) [<Test>] [<Ignore>] member tc.Sum_to_3()...
module SumOfMultiplesTest open NUnit.Framework open SumOfMultiples [<TestFixture>] type SumOfMultiplesTest() = let mutable sumOfMultiples = SumOfMultiples() [<Test>] member tc.Sum_to_1() = Assert.That(sumOfMultiples.To(0), Is.EqualTo(0)) [<Test>] [<Ignore>] member tc.Sum_to_3() ...
Add missing sum of multiples test
Add missing sum of multiples test
F#
mit
exercism/xfsharp,ErikSchierboom/xfsharp,ErikSchierboom/fsharp
4f202a00014519abaca87e3aec5bb163fc2c9fa4
src/MinCamlSharp.Compiler/Compiler.fs
src/MinCamlSharp.Compiler/Compiler.fs
namespace MinCamlSharp.Compiler open System.IO type Compiler(options : CompilerOptions) = let assemblyGenerator = new AssemblyGenerator(options) let limit = ref 1000 let rec iter n e = Printf.eprintf "iteration %d@." n; if n = 0 then e else let e' = Beta.transform e ...
namespace MinCamlSharp.Compiler open System.IO type Compiler(options : CompilerOptions) = let assemblyGenerator = new AssemblyGenerator(options) let limit = ref 1000 let rec iter n e = Printf.eprintf "iteration %d@." n; if n = 0 then e else let e' = Beta.transform e ...
Use closure conversion in pipeline
Use closure conversion in pipeline
F#
bsd-3-clause
tgjones/mincamlsharp
60caf04321177dd3da1e606a02596f9a31e27cac
TypeProviders.CSharp/TypeProviderParser.fs
TypeProviders.CSharp/TypeProviderParser.fs
module TypeProviders.CSharp.TypeProviderParser open System open System.Reflection open FSharp.Data open ProviderImplementation.ProvidedTypes open TypeProviders.CSharp let getMembers (ty: Type) = let isGetterOrSetter m = ty.GetProperties() |> Seq.exists(fun p -> p.GetGetMethod() = m || p.GetSetMet...
module TypeProviders.CSharp.TypeProviderParser open System open System.Reflection open FSharp.Data open ProviderImplementation.ProvidedTypes open TypeProviders.CSharp let getMembers (ty: Type) = let isGetterOrSetter m = ty.GetProperties() |> Seq.exists(fun p -> p.GetGetMethod() = m || p.GetSetMet...
Use base type in pattern matching
Use base type in pattern matching
F#
mit
eggapauli/TypeProviders.CSharp
453aa98b002eeba468557ca238e2a5ec24c1b088
build.fsx
build.fsx
#load "tools/includes.fsx" open IntelliFactory.Build let bt = BuildTool().PackageId("IntelliFactory.WebSharper.GlMatrix", "2.5") .References(fun r -> [r.Assembly "System.Web"]) let main = bt.WebSharper.Extension("IntelliFactory.WebSharper.GlMatrix") .Embed(["gl-matrix-min.js"]) ...
#load "tools/includes.fsx" open IntelliFactory.Build let bt = BuildTool().PackageId("WebSharper.GlMatrix", "2.5") .References(fun r -> [r.Assembly "System.Web"]) let main = bt.WebSharper.Extension("IntelliFactory.WebSharper.GlMatrix") .Embed(["gl-matrix-min.js"]) .SourcesFrom...
Remove IntelliFactory prefix from package name.
Remove IntelliFactory prefix from package name.
F#
apache-2.0
intellifactory/websharper.glmatrix
b32b6142479f663211e09107fc03e8c32fd0a14c
Scripts/CopyResourcesFiles.fsx
Scripts/CopyResourcesFiles.fsx
open System open System.IO let source = fsi.CommandLineArgs.[1].Trim () let dest = fsi.CommandLineArgs.[2].Trim () Directory.CreateDirectory dest |> ignore let fullNameLanguages = [|"en-us"; "pt-br"; "zh-tw"; "zh-cn"; |] let getCulture (fullName: string) = if fullNameLanguages |> Array.exists ((=) fullName) then ...
Add a script to generate resx files
Add a script to generate resx files
F#
apache-2.0
fashaikh/SimpleWAWS,fashaikh/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/TryAppService,projectkudu/SimpleWAWS,projectkudu/TryAppService,davidebbo/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,davidebbo/SimpleWAWS,davidebbo/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/...
b00dedc6bd00d485e5eef39efa833d660bd14dc8
src/Components/Errors.fs
src/Components/Errors.fs
namespace Atom.FSharp open FunScript open FunScript.TypeScript open FunScript.TypeScript.fs open FunScript.TypeScript.child_process open FunScript.TypeScript.AtomCore open FunScript.TypeScript.text_buffer open Atom open Atom.FSharp [<ReflectedDefinition>] module ErrorLinterProvider = type Provider = { gr...
namespace Atom.FSharp open FunScript open FunScript.TypeScript open FunScript.TypeScript.fs open FunScript.TypeScript.child_process open FunScript.TypeScript.AtomCore open FunScript.TypeScript.text_buffer open Atom open Atom.FSharp [<ReflectedDefinition>] module ErrorLinterProvider = type Provider = { gr...
Fix error higlighting in script files
Fix error higlighting in script files
F#
mit
ionide/ionide-fsharp,ionide/ionide-atom-fsharp,dangets/ionide-atom-fsharp
17c9594bbb48da3623c6c5a4acb58e7d3c7eeed0
NBlast.Api.Tests/Controllers/DashboardControllerSpecs.fs
NBlast.Api.Tests/Controllers/DashboardControllerSpecs.fs
namespace NBlast.Api.Tests open System open System.Runtime open Xunit open Moq open FluentAssertions open NBlast.Storage.Core.Index open NBlast.Api.Controllers open NBlast.Storage.Core open System.Web.Http.Results [<AllowNullLiteral>] type DashboardControllerSpecs() = [<Fact>] member me.``Group by field sh...
Cover dashboard group by field by tests
[Api] Cover dashboard group by field by tests
F#
apache-2.0
vba/NBlast,vba/NBlast,vba/NBlast,vba/NBlast
7e8ddce18a4138725bacfb5834a6465a0eeb7474
ReifierTests.fs
ReifierTests.fs
/// Tests for the reifier. module Starling.Tests.Reifier open Starling.Var open Starling.Model open Starling.Reifier open Starling.Tests.Studies open Microsoft open Fuchu let testFindDefOfView ctx = testList "Test findDefOfView" [testCase "Test findDefOfView on reversed ticketed lock views" <| ...
Add missing reifier test, oops
Add missing reifier test, oops
F#
mit
septract/starling-tool,septract/starling-tool
dc863f76a2ae524bc9b7e12495c212e3fe079f26
src/Gjallarhorn.ReferenceDocumentation/AssemblyInfo.fs
src/Gjallarhorn.ReferenceDocumentation/AssemblyInfo.fs
namespace System open System.Reflection [<assembly: AssemblyTitleAttribute("Gjallarhorn.ReferenceDocumentation")>] [<assembly: AssemblyProductAttribute("Gjallarhorn")>] [<assembly: AssemblyDescriptionAttribute("Framework for managing mutable data with change notification and live views")>] [<assembly: AssemblyVersion...
Update for assembly info generated by scaffolding
Update for assembly info generated by scaffolding
F#
mit
jeroldhaas/Gjallarhorn,jeroldhaas/Gjallarhorn,ReedCopsey/Gjallarhorn,ReedCopsey/Gjallarhorn
adae865c5e52f1a0a41819085467effd30d67b23
src/Higher.Core/Tuple.fs
src/Higher.Core/Tuple.fs
namespace Higher.Core // Tuple type type Tuple private () = static let token = new Tuple() static member Inj (value : 'A * 'B) : App2<Tuple, 'A, 'B> = let app = new App<Tuple, 'A>(token, value) new App2<Tuple, 'A, 'B>(AppToken<Tuple, 'A>.Token token, app) static member Prj (app2 : App2<Tu...
Add tuple type and functor instance
Add tuple type and functor instance
F#
apache-2.0
palladin/Higher
c0f48211216e6771d079facf83af99346118d7a4
src/RNGLR.EBNFParser.Test/LexerHelper.fs
src/RNGLR.EBNFParser.Test/LexerHelper.fs
module LexerHelper open Microsoft.FSharp.Text.Lexing open Microsoft.FSharp.Text open Microsoft.FSharp.Reflection open Yard.Examples.MSParser open Yard.Utils.SourceText open Yard.Utils.StructClass open System type Collections.Generic.IDictionary<'k,'v> with member d.TryGetValue' k = let mutable res = Un...
Add file for Lexer help
Add file for Lexer help
F#
apache-2.0
YaccConstructor/YaccConstructor,YaccConstructor/YaccConstructor,YaccConstructor/YaccConstructor
1e44860f5e43c61cc0c869088a220ebe23010394
src/GrammarCombinator/FeatureExamples.fs
src/GrammarCombinator/FeatureExamples.fs
module GrammarCombinator.FeatureExamples open GrammarCombinator.Wrapper open Core open Combinators open Shortcuts open Microsoft.FSharp.Quotations open Microsoft.FSharp.Quotations.Patterns open FSharp.Quotations.Evaluator module TestSuite = open Yard.Generators.GLL open AbstractAnalysis.Common let psgll ...
Test suite for grammar combinators
Test suite for grammar combinators
F#
apache-2.0
YaccConstructor/YaccConstructor,YaccConstructor/YaccConstructor,YaccConstructor/YaccConstructor
dc29631dc2b1b987db7b6abafdea9d76fbdb9c77
src/app/FakeLib/AzureKudu.fs
src/app/FakeLib/AzureKudu.fs
/// Contains tasks to stage and deploy Azure website and webjobs using source code deployment with Kudu Sync. module Fake.Azure.Kudu open Fake open System open System.IO /// Location where staged outputs should go before before synced up to the site. let deploymentTemp = getBuildParamOrDefault "DEPLOYMENT_TEMP" (Pat...
Support for source code deployments on Azure websites through KuduSync.
Support for source code deployments on Azure websites through KuduSync.
F#
apache-2.0
mglodack/FAKE,MichalDepta/FAKE,MichalDepta/FAKE,beeker/FAKE,rflechner/FAKE,MiloszKrajewski/FAKE,mglodack/FAKE,beeker/FAKE,rflechner/FAKE,MiloszKrajewski/FAKE,rflechner/FAKE,Kazark/FAKE,rflechner/FAKE,MichalDepta/FAKE,mglodack/FAKE,mglodack/FAKE,beeker/FAKE,MiloszKrajewski/FAKE,MiloszKrajewski/FAKE,Kazark/FAKE,Kazark/FA...
98b6575beaf8bc95313cdc1a1a1fd8d479a93924
src/app/Fake.Deploy.Lib/Json.fs
src/app/Fake.Deploy.Lib/Json.fs
/// Contains extensions for Newtonsoft.Json. **Don't use it directly. It's likely to be changed in further versions.** module Fake.Json open Newtonsoft.Json open System open Microsoft.FSharp.Reflection open Microsoft.FSharp.Quotations /// Newtonsoft.Json converter for union types type UnionTypeConverter() = inhe...
Create docs only for FakeLib - at least for now
Create docs only for FakeLib - at least for now
F#
apache-2.0
ArturDorochowicz/FAKE,haithemaraissia/FAKE,pmcvtm/FAKE,Kazark/FAKE,JonCanning/FAKE,MichalDepta/FAKE,molinch/FAKE,ArturDorochowicz/FAKE,ctaggart/FAKE,xavierzwirtz/FAKE,Kazark/FAKE,beeker/FAKE,beeker/FAKE,mglodack/FAKE,wooga/FAKE,dlsteuer/FAKE,beeker/FAKE,Kazark/FAKE,featuresnap/FAKE,satsuper/FAKE,tpetricek/FAKE,jayp33/F...
8bb0df2aef7d2c6657816cb8d0f434d7750b8355
Ranges.fs
Ranges.fs
open System let FS = 10000 let PS = 200 let rec ranges a b = let minpack = (b-a) / PS let minfrag = (b-1) / FS let savebytes = Math.Max(minpack,minfrag) //printf "minpack = %d\n" minpack let smalla = Math.Max (Math.Min (a-savebytes,FS), 0) let smallb = Math.Min (Math.Min (PS+smalla...
Add implementation for ranges computation
Add implementation for ranges computation
F#
apache-2.0
alexanderkyte/mitls-f7,alexanderkyte/mitls-f7,alexanderkyte/mitls-f7,alexanderkyte/mitls-f7,alexanderkyte/mitls-f7
38a3ecf7bb21f3cbb6fc74955bc765ac84176341
src/app/FakeLib/RestorePackageHelper.fs
src/app/FakeLib/RestorePackageHelper.fs
[<AutoOpen>] module Fake.RestorePackageHelper open System open System.IO type RestorePackageParams = { ToolPath: string; PackagePattern : string TimeOut: TimeSpan OutputPath: string} /// RestorePackage defaults params let RestorePackageDefaults = { ToolPath = "./tools/nuget/nuget.exe" ...
[<AutoOpen>] module Fake.RestorePackageHelper open System open System.IO type RestorePackageParams = { ToolPath: string TimeOut: TimeSpan OutputPath: string} /// RestorePackage defaults params let RestorePackageDefaults = { ToolPath = "./tools/nuget/nuget.exe" TimeOut = TimeSpan.FromMinu...
Use PackageRestore in order to get rid of the packages
Use PackageRestore in order to get rid of the packages
F#
apache-2.0
molinch/FAKE,hitesh97/FAKE,mglodack/FAKE,neoeinstein/FAKE,rflechner/FAKE,JonCanning/FAKE,Kazark/FAKE,dmorgan3405/FAKE,jayp33/FAKE,mglodack/FAKE,warnergodfrey/FAKE,MiloszKrajewski/FAKE,pacificIT/FAKE,ctaggart/FAKE,beeker/FAKE,neoeinstein/FAKE,modulexcite/FAKE,leflings/FAKE,darrelmiller/FAKE,philipcpresley/FAKE,ArturDoro...
9572c8764679f558343c7d8ec581fd3110cb65e3
basis/io/standard-paths/windows/windows.factor
basis/io/standard-paths/windows/windows.factor
! Copyright (C) 2011 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: arrays combinators.smart environment fry io.directories.search io.files io.pathnames io.standard-paths kernel sequences sets splitting system unicode windows.shell32 ; IN: io.standard-paths.windows : program-files-direct...
! Copyright (C) 2011 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: arrays combinators.smart environment fry io.directories.search io.files io.pathnames io.standard-paths kernel sequences sets splitting system unicode windows.shell32 ; IN: io.standard-paths.windows : program-files-direct...
Add yet another path for Windows.
io.standard-paths: Add yet another path for Windows. My vscode is in ``C:\Users\erg\AppData\Local\Programs\Microsoft VS Code`` for some reason and vscode stopped working. This fixes it.
Factor
bsd-2-clause
mrjbq7/factor,factor/factor,mrjbq7/factor,factor/factor,AlexIljin/factor,bpollack/factor,AlexIljin/factor,AlexIljin/factor,AlexIljin/factor,bpollack/factor,mrjbq7/factor,bpollack/factor,bpollack/factor,mrjbq7/factor,tgunr/factor,AlexIljin/factor,factor/factor,mrjbq7/factor,mrjbq7/factor,tgunr/factor,AlexIljin/factor,tg...
f12c0eb2ba7935bd8433d5fba2c2ebf7f4dc814e
basis/bootstrap/ui/ui.factor
basis/bootstrap/ui/ui.factor
USING: alien namespaces system combinators kernel sequences vocabs vocabs.loader ; IN: bootstrap.ui "bootstrap.compiler" vocab [ "ui-backend" get [ { { [ os macosx? ] [ "cocoa" ] } { [ os windows? ] [ "windows" ] } { [ os unix? ] [ "x11" ] } } cond ] unless* ...
USING: alien namespaces system combinators kernel sequences vocabs vocabs.loader ; IN: bootstrap.ui "bootstrap.compiler" vocab [ "ui-backend" get [ { { [ os macosx? ] [ "cocoa" ] } { [ os windows? ] [ "windows" ] } { [ os unix? ] [ "x11" ] } } cond ] unless* ...
Use pango text backend by default on X11
Use pango text backend by default on X11
Factor
bsd-2-clause
dch/factor,factor/factor,bpollack/factor,bjourne/factor,kingcons/factor,factor/factor,bpollack/factor,mrjbq7/factor,slavapestov/factor,mrjbq7/factor,cataska/factor,AlexIljin/factor,nicolas-p/factor,littledan/Factor,bjourne/factor,factor/factor,mcandre/factor,erg/factor,dch/factor,bpollack/factor,slavapestov/factor,erg/...
0c0935dfc182e6289da084cd6b78c2bafaa670e6
extra/webkit-demo/webkit-demo.factor
extra/webkit-demo/webkit-demo.factor
! Copyright (C) 2008, 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: cocoa cocoa.application cocoa.types cocoa.classes cocoa.windows core-graphics.types kernel math.bitwise literals ; IN: webkit-demo FRAMEWORK: /System/Library/Frameworks/WebKit.framework IMPORT: WebView : rect ( --...
! Copyright (C) 2008, 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: cocoa cocoa.application cocoa.types cocoa.classes cocoa.windows core-graphics.types kernel math.bitwise literals ; IN: webkit-demo FRAMEWORK: /System/Library/Frameworks/WebKit.framework IMPORT: WebView : rect ( --...
Fix typo in webkit demo
Fix typo in webkit demo
Factor
bsd-2-clause
mrjbq7/factor,bpollack/factor,nicolas-p/factor,nicolas-p/factor,tgunr/factor,bjourne/factor,sarvex/factor-lang,nicolas-p/factor,nicolas-p/factor,factor/factor,mrjbq7/factor,slavapestov/factor,AlexIljin/factor,nicolas-p/factor,factor/factor,bjourne/factor,dch/factor,mrjbq7/factor,slavapestov/factor,slavapestov/factor,Al...
ad740f34133b8cca2a9ef187cc6417c61ddd4c2e
extra/dns/unix/unix.factor
extra/dns/unix/unix.factor
! Copyright (C) 2010 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: assocs dns io.encodings.utf8 io.files kernel math.statistics sequences splitting system unicode.categories ; IN: dns.unix : load-resolve.conf ( -- seq ) "/etc/resolv.conf" utf8 file-lines [ [ blank? ] trim ] map ...
! Copyright (C) 2010 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: assocs dns io.encodings.utf8 io.files kernel math.statistics sequences splitting system unicode.categories ; IN: dns.unix : load-resolve.conf ( -- seq ) "/etc/resolv.conf" utf8 file-lines [ [ blank? ] trim ] map ...
Remove blank lines from resolve.conf just in case
Remove blank lines from resolve.conf just in case
Factor
bsd-2-clause
dch/factor,AlexIljin/factor,nicolas-p/factor,bjourne/factor,AlexIljin/factor,AlexIljin/factor,mrjbq7/factor,dch/factor,bpollack/factor,factor/factor,factor/factor,dch/factor,sarvex/factor-lang,slavapestov/factor,tgunr/factor,factor/factor,mrjbq7/factor,bpollack/factor,dch/factor,tgunr/factor,mrjbq7/factor,bjourne/facto...
8d3cb0d596ec0c63d415a965d77ed5eca866e037
basis/io/sockets/icmp/icmp-tests.factor
basis/io/sockets/icmp/icmp-tests.factor
USING: accessors destructors kernel io.sockets io.sockets.icmp sequences tools.test ; IN: io.sockets.icmp.tests [ { } ] [ "localhost" <icmp> resolve-host [ [ icmp4? ] [ icmp6? ] bi or not ] filter ] unit-test [ t ] [ "127.0.0.1" <icmp4> <datagram> [ addr>> icmp4? ] with-disposal ] unit-test
USING: accessors destructors kernel io.sockets io.sockets.icmp sequences tools.test ; IN: io.sockets.icmp.tests [ { } ] [ "localhost" <icmp> resolve-host [ [ icmp4? ] [ icmp6? ] bi or not ] filter ] unit-test
Remove test for icmp sockets since extra/ping implicitly tests this
Remove test for icmp sockets since extra/ping implicitly tests this
Factor
bsd-2-clause
mrjbq7/factor,AlexIljin/factor,sarvex/factor-lang,mrjbq7/factor,bjourne/factor,AlexIljin/factor,bpollack/factor,AlexIljin/factor,factor/factor,slavapestov/factor,dch/factor,dch/factor,bpollack/factor,nicolas-p/factor,dch/factor,slavapestov/factor,bpollack/factor,factor/factor,bjourne/factor,sarvex/factor-lang,slavapest...
c3d1ba6ce675afada95426e537c266fe3748045c
extra/yahoo/yahoo-docs.factor
extra/yahoo/yahoo-docs.factor
USING: yahoo help.syntax help.markup ; HELP: search-yahoo { $values { "search" "a string" } { "num" "a positive integer" } { "seq" "sequence of arrays of length 3" } } { $description "Uses Yahoo's REST API to search for the query specified in the search string, getting the number of answers specified. Returns a sequen...
USING: help.syntax help.markup ; IN: yahoo HELP: search-yahoo { $values { "search" "a string" } { "num" "a positive integer" } { "seq" "sequence of arrays of length 3" } } { $description "Uses Yahoo's REST API to search for the query specified in the search string, getting the number of answers specified. Returns a se...
Fix yahoo for factor changes
Fix yahoo for factor changes
Factor
bsd-2-clause
AlexIljin/factor,mecon/factor,ceninan/factor,mrjbq7/factor,mcandre/factor,bjourne/factor,littledan/Factor,littledan/Factor,dch/factor,nicolas-p/factor,erg/factor,mcandre/factor,AlexIljin/factor,slavapestov/factor,seckar/factor,sarvex/factor-lang,mcandre/factor,mecon/factor,slavapestov/factor,mcandre/factor,nicolas-p/fa...
46830bb38d3f81c770b710786b5f23687cc1efed
basis/compiler/tests/redefine2.factor
basis/compiler/tests/redefine2.factor
IN: compiler.tests USING: compiler compiler.units tools.test math parser kernel sequences sequences.private classes.mixin generic definitions arrays words assocs eval ; DEFER: blah [ ] [ "USE: sequences USE: kernel IN: compiler.tests TUPLE: blah ; M: blah nth 2drop 3 ; INSTANCE: blah sequence" eval ] unit-test [ t ]...
IN: compiler.tests USING: compiler compiler.units tools.test math parser kernel sequences sequences.private classes.mixin generic definitions arrays words assocs eval ; DEFER: redefine2-test [ ] [ "USE: sequences USE: kernel IN: compiler.tests TUPLE: redefine2-test ; M: redefine2-test nth 2drop 3 ; INSTANCE: redefine...
Fix another name clash in tests; putting all compiler tests in compiler.tests vocab is probably not good
Fix another name clash in tests; putting all compiler tests in compiler.tests vocab is probably not good
Factor
bsd-2-clause
slavapestov/factor,nicolas-p/factor,nicolas-p/factor,bjourne/factor,littledan/Factor,bpollack/factor,tgunr/factor,cataska/factor,sarvex/factor-lang,dch/factor,bjourne/factor,bjourne/factor,jwmerrill/factor,littledan/Factor,mrjbq7/factor,AlexIljin/factor,bpollack/factor,mcandre/factor,kingcons/factor,nicolas-p/factor,bj...
b307c6dac309bde5c572c682ba41f268702b8d6a
basis/tools/deploy/shaker/strip-struct-arrays.factor
basis/tools/deploy/shaker/strip-struct-arrays.factor
USING: kernel stack-checker.transforms struct-arrays.private ; IN: struct-arrays : struct-element-constructor ( c-type -- word ) "Struct array usages must be compiled" throw ; << \ struct-element-constructor [ (struct-element-constructor) [ ] curry ] 1 define-transform >>
USING: kernel stack-checker.transforms ; IN: struct-arrays.private : struct-element-constructor ( c-type -- word ) "Struct array usages must be compiled" throw ; << \ struct-element-constructor [ (struct-element-constructor) [ ] curry ] 1 define-transform >>
Fix tree shaker again, gah
Fix tree shaker again, gah
Factor
bsd-2-clause
bpollack/factor,dch/factor,mrjbq7/factor,sarvex/factor-lang,sarvex/factor-lang,AlexIljin/factor,tgunr/factor,dch/factor,factor/factor,mrjbq7/factor,AlexIljin/factor,mrjbq7/factor,mrjbq7/factor,tgunr/factor,nicolas-p/factor,tgunr/factor,bjourne/factor,AlexIljin/factor,bjourne/factor,bpollack/factor,bpollack/factor,tgunr...
a9509a1f22416854be88afbe37368a9bf90ee7d9
extra/yahoo/yahoo-docs.factor
extra/yahoo/yahoo-docs.factor
USING: help.syntax help.markup ; IN: yahoo HELP: search-yahoo { $values { "search" "a string" } { "num" "a positive integer" } { "seq" "sequence of arrays of length 3" } } { $description "Uses Yahoo's REST API to search for the query specified in the search string, getting the number of answers specified. Returns a se...
USING: help.syntax help.markup ; IN: yahoo HELP: search-yahoo { $values { "search" search } { "seq" "sequence of arrays of length 3" } } { $description "Uses Yahoo's REST API to search for the specified query, getting the number of answers specified. Returns a sequence of " { $link result } " instances." } ;
Fix help lint failure in yahoo
Fix help lint failure in yahoo
Factor
bsd-2-clause
erg/factor,bjourne/factor,ehird/factor,kingcons/factor,bjourne/factor,nicolas-p/factor,dch/factor,mrjbq7/factor,littledan/Factor,mrjbq7/factor,bpollack/factor,bpollack/factor,tgunr/factor,sarvex/factor-lang,factor/factor,seckar/factor,bpollack/factor,AlexIljin/factor,factor/factor,dharmatech/factor,factor/factor,AlexIl...
91e94a8438e68143b0c913fd6d8c2f1a15c2f950
basis/tools/disassembler/gdb/gdb.factor
basis/tools/disassembler/gdb/gdb.factor
! Copyright (C) 2008, 2010 Slava Pestov, Jorge Acereda Macia. ! See http://factorcode.org/license.txt for BSD license. USING: io.files io.files.temp io words alien kernel math.parser alien.syntax io.launcher assocs arrays sequences namespaces make system math io.encodings.ascii accessors tools.disassembler tools.disass...
! Copyright (C) 2008, 2010 Slava Pestov, Jorge Acereda Macia. ! See http://factorcode.org/license.txt for BSD license. USING: io.files io.files.temp io words alien kernel math.parser alien.syntax io.launcher assocs arrays sequences namespaces make system math io.encodings.ascii accessors tools.disassembler tools.disass...
Fix GDB-based disassemble for GDB 7
Fix GDB-based disassemble for GDB 7
Factor
bsd-2-clause
factor/factor,tgunr/factor,nicolas-p/factor,slavapestov/factor,sarvex/factor-lang,sarvex/factor-lang,bjourne/factor,bjourne/factor,slavapestov/factor,bpollack/factor,AlexIljin/factor,AlexIljin/factor,slavapestov/factor,AlexIljin/factor,sarvex/factor-lang,factor/factor,bjourne/factor,mrjbq7/factor,mrjbq7/factor,tgunr/fa...
38046364ac55438bf7a192e51c3c6b8da747dfba
core/memory/memory-tests.factor
core/memory/memory-tests.factor
USING: generic kernel kernel.private math memory prettyprint io sequences tools.test words namespaces layouts classes classes.builtin arrays quotations io.launcher system ; IN: memory.tests ! LOL [ ] [ vm "-generations=2" "-e=USING: memory io prettyprint system ; input-stream gc . 0 exit" 3array try-pr...
USING: generic kernel kernel.private math memory prettyprint io sequences tools.test words namespaces layouts classes classes.builtin arrays quotations io.launcher system ; IN: memory.tests ! LOL [ ] [ vm "-i=" image append "-generations=2" "-e=USING: memory io prettyprint system ; input-stream gc . 0 ...
Fix memory test on OpenBSD
Fix memory test on OpenBSD
Factor
bsd-2-clause
mcandre/factor,mrjbq7/factor,bpollack/factor,sarvex/factor-lang,sarvex/factor-lang,kingcons/factor,cataska/factor,mcandre/factor,erg/factor,ceninan/factor,mrjbq7/factor,factor/factor,mcandre/factor,ceninan/factor,cataska/factor,nicolas-p/factor,littledan/Factor,kingcons/factor,AlexIljin/factor,bpollack/factor,slavapest...
63657a07c87357b45181ae9d975f9ac7e0e9a2ed
extra/numbers-game/numbers-game.factor
extra/numbers-game/numbers-game.factor
USING: kernel math math.parser random io ; IN: numbers-game : read-number ( -- n ) readln string>number ; : guess-banner ( -- ) "I'm thinking of a number between 0 and 100." print ; : guess-prompt ( -- ) "Enter your guess: " write ; : too-high ( -- ) "Too high" print ; : too-low ( -- ) "Too low" print ; : correct...
USING: kernel math math.parser random io ; IN: numbers-game : read-number ( -- n ) readln string>number ; : guess-banner ( -- ) "I'm thinking of a number between 0 and 100." print ; : guess-prompt ( -- ) "Enter your guess: " write ; : too-high ( -- ) "Too high" print ; : too-low ( -- ) "Too low" print ; : correct...
Add the banner. It should give the instructions before asking for a guess.
Add the banner. It should give the instructions before asking for a guess.
Factor
bsd-2-clause
AlexIljin/factor,factor/factor,AlexIljin/factor,bpollack/factor,dch/factor,slavapestov/factor,bjourne/factor,AlexIljin/factor,sarvex/factor-lang,slavapestov/factor,dch/factor,bjourne/factor,factor/factor,sarvex/factor-lang,factor/factor,tgunr/factor,bpollack/factor,mrjbq7/factor,bpollack/factor,slavapestov/factor,nicol...
ab7849f71105559a337f81f408cdecccb48bc8f9
extra/project-euler/002/002.factor
extra/project-euler/002/002.factor
! Copyright (c) 2007 Aaron Schaefer. ! See http://factorcode.org/license.txt for BSD license. USING: kernel math sequences ; IN: project-euler.002 ! http://projecteuler.net/index.php?section=problems&id=2 ! DESCRIPTION ! ----------- ! Each new term in the Fibonacci sequence is generated by adding the previous ! two ...
! Copyright (c) 2007 Aaron Schaefer. ! See http://factorcode.org/license.txt for BSD license. USING: kernel math sequences ; IN: project-euler.002 ! http://projecteuler.net/index.php?section=problems&id=2 ! DESCRIPTION ! ----------- ! Each new term in the Fibonacci sequence is generated by adding the previous ! two ...
Use vectors instead of arrays in solution to Project Euler problem 2
Use vectors instead of arrays in solution to Project Euler problem 2
Factor
bsd-2-clause
kingcons/factor,mcandre/factor,nicolas-p/factor,nicolas-p/factor,mecon/factor,tgunr/factor,factor/factor,jwmerrill/factor,Keyholder/factor,mrjbq7/factor,ceninan/factor,seckar/factor,ehird/factor,sarvex/factor-lang,bjourne/factor,jwmerrill/factor,erg/factor,erg/factor,factor/factor,Keyholder/factor,dch/factor,mrjbq7/fac...
84032835f5b3a1d12f0f749b33b81a38bef62ea3
extra/irc/messages/parser/parser.factor
extra/irc/messages/parser/parser.factor
! Copyright (C) 2009 Bruno Deferrari ! See http://factorcode.org/license.txt for BSD license. USING: kernel fry splitting ascii calendar accessors combinators arrays classes.tuple math.order words assocs irc.messages.base sequences ; IN: irc.messages.parser <PRIVATE : split-at-first ( seq separators -- b...
! Copyright (C) 2009 Bruno Deferrari ! See http://factorcode.org/license.txt for BSD license. USING: kernel fry splitting ascii calendar accessors combinators arrays classes.tuple math.order words assocs irc.messages.base sequences ; IN: irc.messages.parser <PRIVATE : split-at-first ( seq separators -- b...
Use GMT times when building a message
irc.messages: Use GMT times when building a message
Factor
bsd-2-clause
AlexIljin/factor,cataska/factor,mcandre/factor,factor/factor,mcandre/factor,nicolas-p/factor,AlexIljin/factor,sarvex/factor-lang,nicolas-p/factor,dch/factor,kingcons/factor,tgunr/factor,sarvex/factor-lang,mrjbq7/factor,bpollack/factor,mcandre/factor,nicolas-p/factor,bpollack/factor,ceninan/factor,seckar/factor,erg/fact...
40ac81d65623c0edabb3c5552f58a53a161e9c9c
basis/system-info/linux/linux-tests.factor
basis/system-info/linux/linux-tests.factor
USING: system-info.linux strings splitting sequences tools.test ; IN: system-info.linux.tests [ 6 ] [ uname length ] unit-test [ t ] [ sysname string? ] unit-test [ t ] [ nodename string? ] unit-test [ t ] [ release string? ] unit-test [ t ] [ version string? ] unit-test [ t ] [ machine string? ] unit-t...
USING: system-info.linux strings splitting sequences tools.test kernel ; IN: system-info.linux.tests [ 6 ] [ uname length ] unit-test [ t ] [ sysname string? ] unit-test [ t ] [ nodename string? ] unit-test [ t ] [ release string? ] unit-test [ t ] [ version string? ] unit-test [ t ] [ machine string? ]...
Fix a using in system-info.linux
Fix a using in system-info.linux
Factor
bsd-2-clause
tgunr/factor,bpollack/factor,sarvex/factor-lang,dch/factor,sarvex/factor-lang,bjourne/factor,bjourne/factor,AlexIljin/factor,AlexIljin/factor,nicolas-p/factor,mrjbq7/factor,bpollack/factor,bjourne/factor,nicolas-p/factor,factor/factor,slavapestov/factor,tgunr/factor,sarvex/factor-lang,dch/factor,slavapestov/factor,bjou...
bec8cc423939ef5184700def9959e41c7c6a1e83
basis/io/files/listing/listing-tests.factor
basis/io/files/listing/listing-tests.factor
! Copyright (C) 2008 Your name. ! See http://factorcode.org/license.txt for BSD license. USING: tools.test io.files.listing strings kernel ; IN: io.files.listing.tests [ ] [ "" directory. ] unit-test
! Copyright (C) 2008 Your name. ! See http://factorcode.org/license.txt for BSD license. USING: tools.test io.files.listing strings kernel ; IN: io.files.listing.tests \ directory. must-infer [ ] [ "" directory. ] unit-test
Add unit test to assert that directory. can infeR
Add unit test to assert that directory. can infeR
Factor
bsd-2-clause
dch/factor,seckar/factor,erg/factor,mcandre/factor,nicolas-p/factor,erg/factor,factor/factor,jwmerrill/factor,erg/factor,littledan/Factor,erg/factor,nicolas-p/factor,bpollack/factor,bjourne/factor,ehird/factor,mcandre/factor,AlexIljin/factor,cataska/factor,dharmatech/factor,sarvex/factor-lang,factor/factor,factor/facto...
7b88756fd04f8f663661840ee61464063b57dc7f
basis/compiler/tree/optimizer/optimizer.factor
basis/compiler/tree/optimizer/optimizer.factor
! Copyright (C) 2008 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: kernel namespaces compiler.tree.recursive compiler.tree.normalization compiler.tree.propagation compiler.tree.cleanup compiler.tree.escape-analysis compiler.tree.escape-analysis.check compiler.tree.tuple-unboxing compiler...
! Copyright (C) 2008 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: kernel namespaces compiler.tree.recursive compiler.tree.normalization compiler.tree.propagation compiler.tree.cleanup compiler.tree.escape-analysis compiler.tree.escape-analysis.check compiler.tree.tuple-unboxing compiler...
Add a with-scope so that optimize-tree doesn't pollute namespace
Add a with-scope so that optimize-tree doesn't pollute namespace
Factor
bsd-2-clause
tgunr/factor,bpollack/factor,tgunr/factor,sarvex/factor-lang,bpollack/factor,slavapestov/factor,bpollack/factor,slavapestov/factor,bjourne/factor,mrjbq7/factor,AlexIljin/factor,nicolas-p/factor,bjourne/factor,bjourne/factor,AlexIljin/factor,slavapestov/factor,nicolas-p/factor,tgunr/factor,slavapestov/factor,nicolas-p/f...
a9f1394468f2c3aefecd67bc9161a6e1ba6183a4
basis/tools/vocabs/browser/browser-tests.factor
basis/tools/vocabs/browser/browser-tests.factor
IN: tools.vocabs.browser.tests USING: tools.vocabs.browser tools.test help.markup ; [ ] [ { $describe-vocab "scratchpad" } print-content ] unit-test
IN: tools.vocabs.browser.tests USING: tools.vocabs.browser tools.test help.markup help vocabs ; [ ] [ { $vocab "scratchpad" } print-content ] unit-test [ ] [ "classes" vocab print-topic ] unit-test
Add a failing unit test
Add a failing unit test
Factor
bsd-2-clause
mcandre/factor,factor/factor,ceninan/factor,sarvex/factor-lang,bpollack/factor,AlexIljin/factor,ehird/factor,bpollack/factor,bjourne/factor,mrjbq7/factor,mcandre/factor,nicolas-p/factor,mcandre/factor,dch/factor,nicolas-p/factor,mrjbq7/factor,nicolas-p/factor,erg/factor,cataska/factor,bjourne/factor,slavapestov/factor,...
4a5885bca110d292852fb58b86b049fe99af5c66
extra/machine-learning/one-hot/one-hot-tests.factor
extra/machine-learning/one-hot/one-hot-tests.factor
! Copyright (C) 2012 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: tools.test machine-learning.one-hot ; IN: machine-learning.one-hot.tests CONSTANT: test-data { { "male" "female" } { "from Europe" "from US" "from Asia" } { "uses Firefox" "uses Chrome" "uses Safari" "uses In...
! Copyright (C) 2012 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: tools.test machine-learning.one-hot ; IN: machine-learning.one-hot.tests CONSTANT: test-data { { "hot" "cold" } { "cloudy" "raining" "snowing" "sunny" } { "light" "heavy" } { "bright-colored" "dark-colore...
Use the example from my blog post as a unit test.
machine-learning.one-hot: Use the example from my blog post as a unit test.
Factor
bsd-2-clause
bpollack/factor,AlexIljin/factor,sarvex/factor-lang,slavapestov/factor,mrjbq7/factor,mrjbq7/factor,bpollack/factor,tgunr/factor,sarvex/factor-lang,dch/factor,mrjbq7/factor,AlexIljin/factor,sarvex/factor-lang,bpollack/factor,nicolas-p/factor,bpollack/factor,sarvex/factor-lang,dch/factor,mrjbq7/factor,nicolas-p/factor,bj...
1eda99257d19b94390c759e23536cd132c5e1d5c
core/hash-sets/hash-sets-docs.factor
core/hash-sets/hash-sets-docs.factor
USING: help.markup help.syntax math sequences ; IN: hash-sets ARTICLE: "hash-sets" "Hash sets" "The " { $vocab-link "hash-sets" } " vocabulary implements hashtable-like sets. Hash sets form a class:" { $subsections hash-set } "Constructing new hash sets:" { $subsections <hash-set> >hash-set } "The syntax for hash sets...
USING: help.markup help.syntax math sequences sets ; IN: hash-sets ARTICLE: "hash-sets" "Hash sets" "The " { $vocab-link "hash-sets" } " vocabulary implements hashtable-like sets. Hash sets form a class:" { $subsections hash-set } "Constructing new hash sets:" { $subsections <hash-set> >hash-set } "The syntax for hash...
Fix typo in hash-set documentation
Fix typo in hash-set documentation
Factor
bsd-2-clause
dch/factor,sarvex/factor-lang,slavapestov/factor,mrjbq7/factor,AlexIljin/factor,mrjbq7/factor,slavapestov/factor,dch/factor,factor/factor,bjourne/factor,nicolas-p/factor,bjourne/factor,bpollack/factor,factor/factor,slavapestov/factor,bjourne/factor,bpollack/factor,sarvex/factor-lang,bpollack/factor,tgunr/factor,sarvex/...
1887695d45a97c99edd99053003ff3039286bfb9
basis/editors/visual-studio-code/visual-studio-code.factor
basis/editors/visual-studio-code/visual-studio-code.factor
! Copyright (C) 2015 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: editors kernel make memoize namespaces system vocabs ; IN: editors.visual-studio-code SINGLETON: visual-studio-code visual-studio-code editor-class set-global HOOK: find-visual-studio-code-invocation os ( -- array ) ME...
! Copyright (C) 2015 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: editors kernel make math.parser memoize namespaces sequences system vocabs ; IN: editors.visual-studio-code SINGLETON: visual-studio-code visual-studio-code editor-class set-global HOOK: find-visual-studio-code-invocati...
Make Visual Studio Code integration go directly to lines
Make Visual Studio Code integration go directly to lines
Factor
bsd-2-clause
bpollack/factor,factor/factor,AlexIljin/factor,slavapestov/factor,mrjbq7/factor,bpollack/factor,mrjbq7/factor,factor/factor,slavapestov/factor,factor/factor,bjourne/factor,bpollack/factor,slavapestov/factor,AlexIljin/factor,bjourne/factor,bpollack/factor,factor/factor,bjourne/factor,AlexIljin/factor,AlexIljin/factor,ni...
8ade4f9b5b90b10fba1546bdb75d876356152129
extra/peg/expr/expr-tests.factor
extra/peg/expr/expr-tests.factor
! Copyright (C) 2007 Chris Double. ! See http://factorcode.org/license.txt for BSD license. ! USING: kernel tools.test peg peg.expr multiline sequences ; IN: temporary { 5 } [ "2+3" eval-expr ] unit-test { 6 } [ "2*3" eval-expr ] unit-test { 14 } [ "2+3*4" eval-expr ] unit-test { 17 } [ "2+3*4+3" eval-ex...
! Copyright (C) 2007 Chris Double. ! See http://factorcode.org/license.txt for BSD license. ! USING: kernel tools.test peg peg.expr multiline sequences ; IN: peg.expr.tests { 5 } [ "2+3" eval-expr ] unit-test { 6 } [ "2*3" eval-expr ] unit-test { 14 } [ "2+3*4" eval-expr ] unit-test { 17 } [ "2+3*4+3" ev...
Fix vocab name in expr tests
Fix vocab name in expr tests
Factor
bsd-2-clause
Keyholder/factor,kingcons/factor,mcandre/factor,mecon/factor,Keyholder/factor,mrjbq7/factor,erg/factor,factor/factor,mcandre/factor,ceninan/factor,sarvex/factor-lang,ceninan/factor,dharmatech/factor,nicolas-p/factor,dch/factor,jwmerrill/factor,jwmerrill/factor,ehird/factor,mecon/factor,erg/factor,nicolas-p/factor,secka...
f0903db414437dfdcecd7c13c2d1c729c31f9ff3
extra/project-euler/010/010.factor
extra/project-euler/010/010.factor
! Copyright (c) 2007 Aaron Schaefer, Samuel Tardieu. ! See http://factorcode.org/license.txt for BSD license. USING: arrays kernel lazy-lists math math.erato math.functions math.ranges namespaces sequences ; IN: project-euler.010 ! http://projecteuler.net/index.php?section=problems&id=10 ! DESCRIPTION ! ------...
! Copyright (c) 2007 Aaron Schaefer, Samuel Tardieu. ! See http://factorcode.org/license.txt for BSD license. USING: arrays kernel lazy-lists math math.erato math.functions math.ranges namespaces sequences ; IN: project-euler.010 ! http://projecteuler.net/index.php?section=problems&id=10 ! DESCRIPTION ! ------...
Remove obsolete performance comment on project Euler problem 10
Remove obsolete performance comment on project Euler problem 10
Factor
bsd-2-clause
factor/factor,slavapestov/factor,ceninan/factor,bjourne/factor,dch/factor,Keyholder/factor,AlexIljin/factor,tgunr/factor,bjourne/factor,bpollack/factor,mcandre/factor,dch/factor,slavapestov/factor,mecon/factor,cataska/factor,ehird/factor,bpollack/factor,slavapestov/factor,nicolas-p/factor,ehird/factor,bpollack/factor,m...
d5834dd7c6dcf5d6f1690da21ac23455492bafd0
extra/forestdb/lib/lib-tests.factor
extra/forestdb/lib/lib-tests.factor
! Copyright (C) 2014 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien.c-types alien.data alien.strings combinators destructors forestdb.ffi fry io.pathnames kernel libc namespaces sequences tools.test ; IN: forestdb.lib CONSTANT: forestdb-test-path "resource:forestdbs/first...
! Copyright (C) 2014 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien.c-types alien.data alien.strings combinators destructors forestdb.ffi fry io.files.temp io.pathnames kernel libc namespaces sequences tools.test ; IN: forestdb.lib : forestdb-test-path ( -- path ) "fo...
Fix file name for test db.
forestdb.lib: Fix file name for test db.
Factor
bsd-2-clause
nicolas-p/factor,sarvex/factor-lang,AlexIljin/factor,dch/factor,nicolas-p/factor,slavapestov/factor,mrjbq7/factor,mrjbq7/factor,bjourne/factor,sarvex/factor-lang,bpollack/factor,bpollack/factor,slavapestov/factor,factor/factor,dch/factor,bjourne/factor,AlexIljin/factor,nicolas-p/factor,dch/factor,factor/factor,sarvex/f...
15391abdd7d33b39f78bac1d873c7a77952c534e
basis/debugger/threads/threads.factor
basis/debugger/threads/threads.factor
! Copyright (C) 2008 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: accessors debugger continuations threads threads.private io io.styles prettyprint kernel math.parser namespaces ; IN: debugger.threads : error-in-thread. ( thread -- ) "Error in thread " write [ dup id>> ...
! Copyright (C) 2008 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: accessors debugger continuations threads threads.private io io.styles prettyprint kernel math.parser namespaces ; IN: debugger.threads : error-in-thread. ( thread -- ) "Error in thread " write [ dup id>> ...
Print call stack trace for thread errors
Print call stack trace for thread errors
Factor
bsd-2-clause
nicolas-p/factor,littledan/Factor,bjourne/factor,sarvex/factor-lang,jwmerrill/factor,slavapestov/factor,ceninan/factor,bjourne/factor,kingcons/factor,bpollack/factor,mcandre/factor,nicolas-p/factor,Keyholder/factor,erg/factor,nicolas-p/factor,nicolas-p/factor,kingcons/factor,littledan/Factor,factor/factor,mrjbq7/factor...
9ebd9c8d01d563ff081803de9126b4d69d2e3a2a
basis/compiler/tests/redefine15.factor
basis/compiler/tests/redefine15.factor
USING: compiler.units words tools.test math kernel ; IN: compiler.tests.redefine15 DEFER: word-1 : word-2 ( a -- b ) word-1 ; [ \ word-1 [ ] (( a -- b )) define-declared ] with-compilation-unit [ "a" ] [ "a" word-2 ] unit-test : word-3 ( a -- b ) 1 + ; : word-4 ( a -- b c ) 0 swap word-3 swap 1+ ; [ 1 1 ] [ 0 w...
Add unit test for regression
Add unit test for regression
Factor
bsd-2-clause
tgunr/factor,factor/factor,bpollack/factor,littledan/Factor,bjourne/factor,mrjbq7/factor,AlexIljin/factor,cataska/factor,sarvex/factor-lang,ceninan/factor,AlexIljin/factor,slavapestov/factor,sarvex/factor-lang,slavapestov/factor,erg/factor,Keyholder/factor,mcandre/factor,kingcons/factor,bjourne/factor,bpollack/factor,b...
0e723f64cc2cd97e767cccab9f4b3a8ecb197385
extra/io/monitors/monitors-tests.factor
extra/io/monitors/monitors-tests.factor
IN: io.monitors.tests USING: io.monitors tools.test io.files system sequences continuations namespaces concurrency.count-downs kernel io threads calendar ; os { winnt macosx linux } member? [ [ "monitor-test" temp-file delete-tree ] ignore-errors [ ] [ "monitor-test" temp-file make-directory ] unit-test ...
Add unit tests for monitors
Add unit tests for monitors
Factor
bsd-2-clause
erg/factor,factor/factor,bpollack/factor,mecon/factor,sarvex/factor-lang,mrjbq7/factor,nicolas-p/factor,nicolas-p/factor,bjourne/factor,sarvex/factor-lang,bpollack/factor,ceninan/factor,mcandre/factor,slavapestov/factor,littledan/Factor,erg/factor,bpollack/factor,cataska/factor,kingcons/factor,jwmerrill/factor,tgunr/fa...
277a8270391463aa899fbeb58ce5d45b64a90868
basis/ui/gadgets/glass/glass-tests.factor
basis/ui/gadgets/glass/glass-tests.factor
IN: ui.gadgets.glass.tests USING: tools.test ui.gadgets.glass ui.gadgets.worlds ui.gadgets math.rectangles namespaces accessors models ; <gadget> "" f <model> <world> { 1000 1000 } >>dim "w" set [ ] [ <gadget> "g" set ] unit-test [ ] [ "w" get "g" get { 0 0 } { 100 100 } <rect> show-glass ] unit-test [ ] [ "g" get ...
Add unit tests for ui.gadgets.glass
Add unit tests for ui.gadgets.glass
Factor
bsd-2-clause
littledan/Factor,tgunr/factor,littledan/Factor,bpollack/factor,ehird/factor,dch/factor,mcandre/factor,bjourne/factor,littledan/Factor,kingcons/factor,erg/factor,slavapestov/factor,nicolas-p/factor,ceninan/factor,factor/factor,mrjbq7/factor,Keyholder/factor,factor/factor,ehird/factor,bjourne/factor,mrjbq7/factor,mcandre...
0086369302139b6255459b334728b455fa3164dd
basis/core-graphics/core-graphics-tests.factor
basis/core-graphics/core-graphics-tests.factor
! Copyright (C) 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: tools.test core-graphics kernel ; IN: core-graphics.tests [ ] [ 100 200 [ drop ] with-bitmap-context ] unit-test
! Copyright (C) 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: tools.test core-graphics kernel byte-arrays ; IN: core-graphics.tests [ t ] [ 100 200 [ drop ] with-bitmap-context byte-array? ] unit-test
Fix core graphics unit test
Fix core graphics unit test
Factor
bsd-2-clause
sarvex/factor-lang,ceninan/factor,ceninan/factor,dch/factor,AlexIljin/factor,erg/factor,bjourne/factor,mcandre/factor,bjourne/factor,seckar/factor,mrjbq7/factor,nicolas-p/factor,AlexIljin/factor,factor/factor,erg/factor,factor/factor,slavapestov/factor,slavapestov/factor,cataska/factor,AlexIljin/factor,sarvex/factor-la...
9760eb4fb197d265eb04a8c1a00432987c3153f2
extra/project-euler/ave-time/ave-time.factor
extra/project-euler/ave-time/ave-time.factor
! Copyright (c) 2007 Aaron Schaefer ! See http://factorcode.org/license.txt for BSD license. USING: arrays effects inference io kernel math math.functions math.parser math.statistics namespaces sequences tools.time ; IN: project-euler.ave-time <PRIVATE : clean-stack ( quot -- ) infer dup effect-out swap effec...
! Copyright (c) 2007 Aaron Schaefer ! See http://factorcode.org/license.txt for BSD license. USING: arrays combinators io kernel math math.functions math.parser math.statistics namespaces sequences tools.time ; IN: project-euler.ave-time <PRIVATE : ave-benchmarks ( seq -- pair ) flip [ mean round ] map ; PRI...
Update collect-benchmarks so that it does not rely onto computed stack effect
Update collect-benchmarks so that it does not rely onto computed stack effect
Factor
bsd-2-clause
mecon/factor,bjourne/factor,sarvex/factor-lang,ehird/factor,dch/factor,nicolas-p/factor,kingcons/factor,jwmerrill/factor,kingcons/factor,nicolas-p/factor,Keyholder/factor,mecon/factor,ehird/factor,mrjbq7/factor,bpollack/factor,bjourne/factor,dch/factor,mcandre/factor,littledan/Factor,erg/factor,erg/factor,kingcons/fact...
84d968c5f649ad77ba33e5ee39587dff265dff56
basis/specialized-vectors/specialized-vectors-tests.factor
basis/specialized-vectors/specialized-vectors-tests.factor
IN: specialized-vectors.tests USING: specialized-vectors.double tools.test kernel sequences ; [ 3 ] [ double-vector{ 1 2 } 3 over push length ] unit-test
IN: specialized-vectors.tests USING: specialized-arrays.float specialized-vectors.float specialized-vectors.double tools.test kernel sequences ; [ 3 ] [ double-vector{ 1 2 } 3 over push length ] unit-test [ t ] [ 10 float-array{ } new-resizable float-vector? ] unit-test
Add test to assert that new-resizable returns specialized vectors on specialized arrays
Add test to assert that new-resizable returns specialized vectors on specialized arrays
Factor
bsd-2-clause
cataska/factor,slavapestov/factor,bjourne/factor,mcandre/factor,tgunr/factor,erg/factor,erg/factor,bpollack/factor,sarvex/factor-lang,AlexIljin/factor,littledan/Factor,littledan/Factor,nicolas-p/factor,cataska/factor,nicolas-p/factor,mrjbq7/factor,kingcons/factor,mrjbq7/factor,littledan/Factor,nicolas-p/factor,slavapes...
2402345794793a6f7fdb1920b63d7f9234623a64
basis/io/encodings/string/string-docs.factor
basis/io/encodings/string/string-docs.factor
! Copyright (C) 2008 Daniel Ehrenberg. ! See http://factorcode.org/license.txt for BSD license. USING: help.markup help.syntax byte-arrays strings ; IN: io.encodings.string ARTICLE: "io.encodings.string" "Encoding and decoding strings" "Strings can be encoded or decoded to and from byte arrays through an encoding by p...
! Copyright (C) 2008,2011 Daniel Ehrenberg, Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: byte-arrays help.markup help.syntax io.encodings.string strings ; IN: io.encodings.string ARTICLE: "io.encodings.string" "Encoding and decoding strings" "Strings can be encoded or decoded to and fr...
Add examples to encode/decode docs.
Add examples to encode/decode docs.
Factor
bsd-2-clause
dch/factor,bpollack/factor,slavapestov/factor,factor/factor,slavapestov/factor,AlexIljin/factor,AlexIljin/factor,bjourne/factor,sarvex/factor-lang,tgunr/factor,mrjbq7/factor,dch/factor,bjourne/factor,nicolas-p/factor,AlexIljin/factor,sarvex/factor-lang,bjourne/factor,dch/factor,mrjbq7/factor,mrjbq7/factor,bpollack/fact...
93c8f5a2f4ad2448018c7ce715495ab678661525
basis/bootstrap/image/download/download.factor
basis/bootstrap/image/download/download.factor
! Copyright (C) 2008 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: http.client checksums checksums.openssl splitting assocs kernel io.files bootstrap.image sequences io urls ; IN: bootstrap.image.download : url URL" http://factorcode.org/images/latest/" ; : download-checksums ( -- alis...
! Copyright (C) 2008 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: http.client checksums checksums.md5 splitting assocs kernel io.files bootstrap.image sequences io urls ; IN: bootstrap.image.download : url URL" http://factorcode.org/images/latest/" ; : download-checksums ( -- alist ) ...
Use our MD5 library instead of OpenSSL so that we can run builder without OpenSSL being installed
Use our MD5 library instead of OpenSSL so that we can run builder without OpenSSL being installed
Factor
bsd-2-clause
AlexIljin/factor,seckar/factor,tgunr/factor,jwmerrill/factor,dch/factor,factor/factor,slavapestov/factor,slavapestov/factor,slavapestov/factor,nicolas-p/factor,slavapestov/factor,kingcons/factor,sarvex/factor-lang,mrjbq7/factor,ehird/factor,AlexIljin/factor,cataska/factor,nicolas-p/factor,nicolas-p/factor,dharmatech/fa...
c1347699c407ea0eb8310a414c5cd44694dddcc2
extra/constructors/constructors.factor
extra/constructors/constructors.factor
! Copyright (C) 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: slots kernel sequences fry accessors parser lexer words effects.parser ; IN: constructors ! An experiment : constructor-quot ( class slot-names body -- quot ) [ <reversed> [ setter-word '[ swap _ execute ] ] map [ ]...
! Copyright (C) 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: slots kernel sequences fry accessors parser lexer words effects.parser macros ; IN: constructors ! An experiment MACRO: set-slots ( slots -- quot ) <reversed> [ setter-word '[ swap _ execute ] ] map [ ] join ; : co...
Clean up CONSTRUCTOR: with Dan's idea: introduce set-slots and construct macros
Clean up CONSTRUCTOR: with Dan's idea: introduce set-slots and construct macros
Factor
bsd-2-clause
erg/factor,ehird/factor,factor/factor,AlexIljin/factor,tgunr/factor,littledan/Factor,ehird/factor,AlexIljin/factor,seckar/factor,bpollack/factor,factor/factor,factor/factor,cataska/factor,bpollack/factor,erg/factor,bjourne/factor,dch/factor,sarvex/factor-lang,tgunr/factor,kingcons/factor,dch/factor,slavapestov/factor,n...
b259a2725cf95849d585e3745fe63232d2d56d3a
basis/io/monitors/freebsd/freebsd.factor
basis/io/monitors/freebsd/freebsd.factor
IN: io.monitors.freebsd ! Empty for now
USING: kernel io.backend io.monitors io.monitors.recursive io.files io.pathnames io.buffers io.ports io.timeouts io.backend.unix io.encodings.utf8 assocs namespaces make sequences locals system destructors accessors o; IN: io.monitors.freebsd TUPLE: freebsd-monitor < monitor handle ; M:: freebsd (monitor) ( path recu...
Fix monitor errors on startup
Fix monitor errors on startup
Factor
bsd-2-clause
AlexIljin/factor,mrjbq7/factor,mrjbq7/factor,bpollack/factor,mrjbq7/factor,AlexIljin/factor,factor/factor,factor/factor,AlexIljin/factor,bpollack/factor,factor/factor,AlexIljin/factor,factor/factor,factor/factor,tgunr/factor,factor/factor,AlexIljin/factor,tgunr/factor,tgunr/factor,bpollack/factor,bpollack/factor,mrjbq7...
6e2291886dc7b9bb577045387c9b7318b6547276
basis/functors/functors-modern.factor
basis/functors/functors-modern.factor
! Copyright (C) 2008, 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays assocs classes.mixin classes.parser classes.singleton classes.tuple classes.tuple.parser combinators effects.parser fry functors.backend generic generic.parser interpolate io.streams.string kernel l...
Add a modern functors file that doesn't have the FUNCTOR-SYNTAX: words.
functors: Add a modern functors file that doesn't have the FUNCTOR-SYNTAX: words.
Factor
bsd-2-clause
sarvex/factor-lang,slavapestov/factor,sarvex/factor-lang,slavapestov/factor,mrjbq7/factor,AlexIljin/factor,bjourne/factor,nicolas-p/factor,bpollack/factor,bjourne/factor,sarvex/factor-lang,tgunr/factor,nicolas-p/factor,slavapestov/factor,nicolas-p/factor,factor/factor,bpollack/factor,factor/factor,tgunr/factor,factor/f...
cfa1c0201330481f072d579f1af31bed300013af
core/memory/memory-tests.factor
core/memory/memory-tests.factor
USING: generic kernel kernel.private math memory prettyprint sequences tools.test words namespaces layouts classes classes.builtin ; IN: memory.tests TUPLE: testing x y z ; [ save-image-and-exit ] must-fail [ ] [ num-types get [ type>class [ "predicate" word-prop instances [ c...
USING: generic kernel kernel.private math memory prettyprint sequences tools.test words namespaces layouts classes classes.builtin arrays quotations ; IN: memory.tests ! Code GC wasn't kicking in when needed : leak-step 800000 f <array> 1quotation call drop ; : leak-loop 100 [ leak-step ] times ; [ ] [ leak-step lea...
Add test case for GC
Add test case for GC
Factor
bsd-2-clause
mcandre/factor,dharmatech/factor,slavapestov/factor,AlexIljin/factor,sarvex/factor-lang,slavapestov/factor,mecon/factor,ehird/factor,erg/factor,bpollack/factor,factor/factor,mecon/factor,dch/factor,erg/factor,erg/factor,dharmatech/factor,cataska/factor,AlexIljin/factor,nicolas-p/factor,littledan/Factor,slavapestov/fact...
5ff2b19ffefe978f9ac494b213eaa9ded9e843d9
basis/bootstrap/ui/ui.factor
basis/bootstrap/ui/ui.factor
USING: alien namespaces system combinators kernel sequences vocabs vocabs.loader ; IN: bootstrap.ui "bootstrap.compiler" vocab [ "ui-backend" get [ { { [ os macosx? ] [ "cocoa" ] } { [ os windows? ] [ "windows" ] } { [ os unix? ] [ "x11" ] } } cond ] unless* ...
USING: alien namespaces system combinators kernel sequences vocabs vocabs.loader ; IN: bootstrap.ui "bootstrap.compiler" vocab [ "ui-backend" get [ { { [ os macosx? ] [ "cocoa" ] } { [ os windows? ] [ "windows" ] } { [ os unix? ] [ "x11" ] } } cond ] unless* ...
Use Pango text rendering on Windows
Use Pango text rendering on Windows
Factor
bsd-2-clause
mcandre/factor,ceninan/factor,bpollack/factor,AlexIljin/factor,sarvex/factor-lang,bjourne/factor,littledan/Factor,cataska/factor,erg/factor,dch/factor,cataska/factor,bjourne/factor,Keyholder/factor,nicolas-p/factor,cataska/factor,nicolas-p/factor,bpollack/factor,bpollack/factor,ceninan/factor,erg/factor,erg/factor,dch/...
cab001234ae6148bf4bf056dbe78f1a203011572
basis/io/sockets/windows/windows-tests.factor
basis/io/sockets/windows/windows-tests.factor
USING: accessors continuations destructors io.sockets io.sockets.windows kernel sequences tools.test urls windows.winsock ; IN: io.sockets.windows.tests : google-socket ( -- socket ) URL" http://www.google.com" url-addr resolve-host first SOCK_STREAM open-socket ; { } [ { FIONBIO FIONREAD } [ goog...
USING: accessors continuations destructors io.sockets io.sockets.windows kernel sequences tools.test urls windows.winsock ; IN: io.sockets.windows.tests : google-socket ( -- socket ) URL" http://www.google.com" url-addr resolve-host first SOCK_STREAM open-socket ; { } [ { FIONBIO FIONREAD } [ goog...
Fix unit test--recover leaves socket on stack, nip it.
io.sockets.windows: Fix unit test--recover leaves socket on stack, nip it.
Factor
bsd-2-clause
tgunr/factor,sarvex/factor-lang,mrjbq7/factor,tgunr/factor,bjourne/factor,factor/factor,bjourne/factor,sarvex/factor-lang,tgunr/factor,slavapestov/factor,factor/factor,mrjbq7/factor,bjourne/factor,factor/factor,tgunr/factor,dch/factor,nicolas-p/factor,slavapestov/factor,bpollack/factor,dch/factor,slavapestov/factor,sla...
ee741143e04956d71b7aae56f4f3ce9631fccb42
basis/tools/profiler/sampling/sampling-tests.factor
basis/tools/profiler/sampling/sampling-tests.factor
USING: byte-arrays calendar kernel math memory namespaces random threads tools.profiler.sampling tools.profiler.sampling.private tools.test sequences ; IN: tools.profiler.sampling.tests ! Make sure the profiler doesn't blow up the VM TUPLE: boom ; { } [ 10 [ [ ] profile ] times ] unit-test [ 10 [ [ boom new throw ] pr...
USING: byte-arrays calendar kernel math memory namespaces random threads tools.profiler.sampling tools.profiler.sampling.private tools.test sequences ; IN: tools.profiler.sampling.tests ! Make sure the profiler doesn't blow up the VM TUPLE: boom ; { } [ 10 [ [ ] profile ] times ] unit-test [ 10 [ [ boom new throw ] pr...
Fix unit tests to give the sampling profiler something to profile.
Fix unit tests to give the sampling profiler something to profile.
Factor
bsd-2-clause
tgunr/factor,tgunr/factor,mrjbq7/factor,bpollack/factor,bjourne/factor,dch/factor,sarvex/factor-lang,dch/factor,factor/factor,AlexIljin/factor,nicolas-p/factor,dch/factor,nicolas-p/factor,sarvex/factor-lang,AlexIljin/factor,mrjbq7/factor,factor/factor,nicolas-p/factor,slavapestov/factor,factor/factor,bpollack/factor,Al...
2f15931b3c320a0b67d50b397dcc053c3eec8282
extra/tokyo/alien/tcutil/tcutil.factor
extra/tokyo/alien/tcutil/tcutil.factor
USING: kernel alien combinators alien.syntax alien.c-types alien.libraries ; IN: tokyo.alient.tcutil C-ENUM: TCDBTHASH TCDBTBTREE TCDBTFIXED TCDBTTABLE ; ! long seems safe enough TYPEDEF: long time_t TYPEDEF: void* TCLIST* FUNCTION: TCLIST* tclistnew ( ) ; FUNCTION: TCLIST* tclistnew2 ...
USING: kernel alien combinators alien.syntax alien.c-types alien.libraries ; IN: tokyo.alient.tcutil C-ENUM: TCDBTHASH TCDBTBTREE TCDBTFIXED TCDBTTABLE ; ! FIXME: on windows 64bits this isn't correct, because long is 32bits there, and time_t is int64 TYPEDEF: long time_t TYPEDEF: void* ...
Make time_t a long, needs fix for 64bits windows
tokyo.alien: Make time_t a long, needs fix for 64bits windows
Factor
bsd-2-clause
bpollack/factor,dch/factor,sarvex/factor-lang,dch/factor,mrjbq7/factor,factor/factor,nicolas-p/factor,nicolas-p/factor,dch/factor,slavapestov/factor,sarvex/factor-lang,slavapestov/factor,sarvex/factor-lang,mrjbq7/factor,AlexIljin/factor,tgunr/factor,AlexIljin/factor,factor/factor,bpollack/factor,nicolas-p/factor,mrjbq7...
a423c83e6d8cd4b4fe021f809b312eecb0b1ae4f
extra/game-input/game-input-tests.factor
extra/game-input/game-input-tests.factor
IN: game-input.tests USING: game-input tools.test kernel system ; os windows? os macosx? or [ [ ] [ open-game-input ] unit-test [ ] [ close-game-input ] unit-test ] when
IN: game-input.tests USING: game-input tools.test kernel system threads ; os windows? os macosx? or [ [ ] [ open-game-input ] unit-test [ ] [ yield ] unit-test [ ] [ close-game-input ] unit-test ] when
Add workaround for game-input crash
Add workaround for game-input crash
Factor
bsd-2-clause
tgunr/factor,erg/factor,tgunr/factor,cataska/factor,AlexIljin/factor,mcandre/factor,cataska/factor,Keyholder/factor,kingcons/factor,nicolas-p/factor,dch/factor,kingcons/factor,slavapestov/factor,AlexIljin/factor,factor/factor,nicolas-p/factor,bpollack/factor,dch/factor,sarvex/factor-lang,bjourne/factor,tgunr/factor,dch...
702f0686b10acb69b27546b212221de1b481b558
extra/unicode/control-pictures/control-pictures-docs.factor
extra/unicode/control-pictures/control-pictures-docs.factor
! Copyright (C) 2017 Pi. ! See http://factorcode.org/license.txt for BSD license. USING: help.markup help.syntax help.topics strings ; IN: unicode.control-pictures HELP: control-pictures { $values { "string" string } } { $description "Transforms C0 control characters into their corresponding Control Picture block ...
! Copyright (C) 2017 Pi. ! See http://factorcode.org/license.txt for BSD license. USING: assocs hashtables help.markup help.stylesheet help.syntax help.topics io.styles kernel namespaces present sequences strings urls ; IN: unicode.control-pictures : $url-to ( children -- ) first2 >url [ dup present href a...
Improve documentation by linking to Unicode charts for the relevant blocks
Improve documentation by linking to Unicode charts for the relevant blocks
Factor
bsd-2-clause
tgunr/factor,tgunr/factor,tgunr/factor,AlexIljin/factor,tgunr/factor,mrjbq7/factor,bpollack/factor,AlexIljin/factor,mrjbq7/factor,factor/factor,bpollack/factor,bpollack/factor,mrjbq7/factor,mrjbq7/factor,factor/factor,factor/factor,AlexIljin/factor,AlexIljin/factor,factor/factor,AlexIljin/factor,bpollack/factor,AlexIlj...
b6245ddc740fd31bebf5a7dc1c14681c90bcf85a
extra/lisp/lisp-tests.factor
extra/lisp/lisp-tests.factor
! Copyright (C) 2008 James Cash ! See http://factorcode.org/license.txt for BSD license. USING: lisp lisp.parser tools.test ; IN: lisp.test { [ "aoeu" 2 1 T{ lisp-symbol f "foo" } ] } [ "(foo 1 2 \"aoeu\")" lisp-string>factor ] unit-test init-env "+" [ first2 + ] lisp-define { [ first2 + ] } [ "+" lisp-get ] u...
! Copyright (C) 2008 James Cash ! See http://factorcode.org/license.txt for BSD license. USING: lisp lisp.parser tools.test sequences math kernel ; IN: lisp.test { [ "aoeu" 2 1 T{ lisp-symbol f "foo" } ] } [ "(foo 1 2 \"aoeu\")" lisp-string>factor ] unit-test init-env "+" [ first2 + ] lisp-define { [ first2 + ] ...
Fix load error in lisp
Fix load error in lisp
Factor
bsd-2-clause
mrjbq7/factor,mcandre/factor,dch/factor,sarvex/factor-lang,seckar/factor,nicolas-p/factor,seckar/factor,bjourne/factor,bpollack/factor,nicolas-p/factor,AlexIljin/factor,factor/factor,dharmatech/factor,kingcons/factor,AlexIljin/factor,bpollack/factor,sarvex/factor-lang,AlexIljin/factor,mcandre/factor,tgunr/factor,sarvex...
33c9097217edc6b3b03b23c0c8f25ab481e9224c
extra/mason/child/child-tests.factor
extra/mason/child/child-tests.factor
USING: io io.pathnames kernel mason.child mason.config namespaces sequences system tools.test ; IN: mason.child.tests { { "make" "macosx-x86-32" } } [ H{ { target-os macosx } { target-cpu x86.32 } } [ mason-child-make-cmd ] with-variables ] unit-test ! Must be an absolute path on Windows becau...
USING: io io.pathnames kernel mason.child mason.config namespaces sequences system tools.test ; IN: mason.child.tests { t } [ H{ { target-os windows } { target-cpu x86.32 } } [ mason-child-boot-cmd ] with-variables first absolute-path? ] unit-test [ [ "Hi" print ] [ drop 3 ] [ 4 ] recover-else...
Remove unit tests since they're hard to maintain and if they fail then the CI fails as well anyway.
mason.child: Remove unit tests since they're hard to maintain and if they fail then the CI fails as well anyway.
Factor
bsd-2-clause
AlexIljin/factor,mrjbq7/factor,AlexIljin/factor,tgunr/factor,AlexIljin/factor,AlexIljin/factor,factor/factor,tgunr/factor,factor/factor,bpollack/factor,AlexIljin/factor,bpollack/factor,tgunr/factor,bpollack/factor,factor/factor,tgunr/factor,mrjbq7/factor,mrjbq7/factor,mrjbq7/factor,bpollack/factor,factor/factor,AlexIlj...
53951c4adec5eebd27e0606525f167ef3e471553
basis/ui/gadgets/labeled/labeled-tests.factor
basis/ui/gadgets/labeled/labeled-tests.factor
USING: accessors sequences tools.test ui.gadgets ui.gadgets.labeled ; IN: ui.gadgets.labeled.tests { t } [ <gadget> "Hey" <labeled-gadget> children>> first content>> gadget? ] unit-test
USING: accessors colors.constants sequences tools.test ui.gadgets ui.gadgets.labeled ; IN: ui.gadgets.labeled.tests { t } [ <gadget> "Hey" COLOR: blue <labeled-gadget> content>> gadget? ] unit-test
Fix a random failing unit test.
ui.gadgets.labeled: Fix a random failing unit test.
Factor
bsd-2-clause
factor/factor,AlexIljin/factor,factor/factor,tgunr/factor,AlexIljin/factor,bpollack/factor,bpollack/factor,mrjbq7/factor,factor/factor,bpollack/factor,factor/factor,AlexIljin/factor,AlexIljin/factor,tgunr/factor,tgunr/factor,mrjbq7/factor,AlexIljin/factor,bpollack/factor,tgunr/factor,factor/factor,bpollack/factor,mrjbq...
ca3669e7b398ccbc365e08a94e406f482bfd8633
extra/hello-world/deploy.factor
extra/hello-world/deploy.factor
USING: tools.deploy.config ; H{ { deploy-name "Hello world (console)" } { deploy-c-types? f } { deploy-word-props? f } { deploy-ui? f } { deploy-reflection 1 } { deploy-compiler? f } { deploy-unicode? f } { deploy-io 2 } { deploy-word-defs? f } { deploy-threads? f } { "stop-a...
USING: tools.deploy.config ; H{ { deploy-unicode? f } { deploy-ui? f } { deploy-compiler? t } { deploy-name "Hello world (console)" } { deploy-io 2 } { deploy-threads? f } { deploy-reflection 1 } { deploy-math? f } { deploy-word-props? f } { deploy-word-defs? f } { deploy-c-t...
Deploy hello-world with optimizing compiler since the image is smaller as a result, and this makes it pass the size test again
Deploy hello-world with optimizing compiler since the image is smaller as a result, and this makes it pass the size test again
Factor
bsd-2-clause
kingcons/factor,erg/factor,ceninan/factor,littledan/Factor,erg/factor,littledan/Factor,mcandre/factor,mcandre/factor,mcandre/factor,erg/factor,erg/factor,mcandre/factor,cataska/factor,mcandre/factor,ceninan/factor,seckar/factor,cataska/factor,seckar/factor,mcandre/factor,littledan/Factor,kingcons/factor,erg/factor,erg/...
eb3c6f414b6e955f54946c4fd885bf9330855869
extra/cuda/demos/hello-world/hello-world.factor
extra/cuda/demos/hello-world/hello-world.factor
! Copyright (C) 2010 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: alien.c-types alien.strings cuda cuda.syntax destructors io.encodings.utf8 kernel locals math prettyprint sequences ; IN: cuda.hello-world CUDA-LIBRARY: hello vocab:cuda/hello.ptx CUDA-FUNCTION: helloWorld ( char* strin...
! Copyright (C) 2010 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: alien.c-types alien.strings cuda cuda.syntax destructors io.encodings.utf8 kernel locals math prettyprint sequences ; IN: cuda.demos.hello-world CUDA-LIBRARY: hello vocab:cuda/demos/hello-world/hello.ptx CUDA-FUNCTION: ...
Fix the ptx path in cuda demo
Fix the ptx path in cuda demo
Factor
bsd-2-clause
tgunr/factor,factor/factor,bjourne/factor,sarvex/factor-lang,mrjbq7/factor,dch/factor,slavapestov/factor,sarvex/factor-lang,slavapestov/factor,bpollack/factor,AlexIljin/factor,slavapestov/factor,bpollack/factor,nicolas-p/factor,factor/factor,tgunr/factor,nicolas-p/factor,bjourne/factor,bjourne/factor,AlexIljin/factor,f...