git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Change executable name to pscpp
commit080f35f3f5d336279fb517482358897dcd158887 authorAndy Arvanitis <andyarvanitis@gmail.com> dateWed 8 Aug 2018, 21:05 (8 years ago) parent1d078f4
5 files changed+28−28
ChangeLog.md+1−1 package.yaml+9−9 purecc.cabal → pscpp.cabal+15−15 src/CodeGen/Cpp/Printer.hs+1−1 support/Makefile+2−2
ChangeLog.md+1−1
@@ -1,3 +1,3 @@
1−# Changelog for purecc
1+# Changelog for pscpp
22
33## Unreleased changes
package.yaml+9−9
@@ -1,10 +1,10 @@
1−name: purecc
1+name: pscpp
22version: 0.1.0.0
3−github: "githubuser/purecc"
3+github: "andyarvanitis/purescript-cpp"
44license: BSD3
5−author: "Author name here"
5+author: "Andy Arvanitis"
66maintainer: "example@example.com"
7−copyright: "2018 Author name here"
7+copyright: "2018 Andy Arvanitis"
88
99extra-source-files:
1010- README.md
@@ -17,7 +17,7 @@ extra-source-files:
1717# To avoid duplicated efforts in documentation and dealing with the
1818# complications of embedding Haddock markup inside cabal files, it is
1919# common to point users to the README.md file.
20−description: Please see the README on Github at <https://github.com/githubuser/purecc#readme>
20+description: Please see the README on Github at <https://github.com/andyarvanitis/purescript-cpp#readme>
2121
2222dependencies:
2323- base >= 4.7 && < 5
@@ -58,7 +58,7 @@ library:
5858 - ViewPatterns
5959
6060executables:
61− purecc:
61+ pscpp:
6262 main: Main.hs
6363 source-dirs: app
6464 ghc-options:
@@ -66,10 +66,10 @@ executables:
6666 - -rtsopts
6767 - -with-rtsopts=-N
6868 dependencies:
69− - purecc
69+ - pscpp
7070
7171tests:
72− purecc-test:
72+ pscpp-test:
7373 main: Spec.hs
7474 source-dirs: test
7575 ghc-options:
@@ -77,4 +77,4 @@ tests:
7777 - -rtsopts
7878 - -with-rtsopts=-N
7979 dependencies:
80− - purecc
80+ - pscpp
purecc.cabal → pscpp.cabalrenamed+15−15
@@ -2,16 +2,16 @@
22--
33-- see: https://github.com/sol/hpack
44--
5−-- hash: 0d9df9089392ad0c15d94a9c539993640aa31983b415eb926d9e920d2836beb5
5+-- hash: e5a3087784164da529b9f673d964db77b198c936e428ed7c2fe54b479a06d0c7
66
7−name: purecc
7+name: pscpp
88version: 0.1.0.0
9−description: Please see the README on Github at <https://github.com/githubuser/purecc#readme>
10−homepage: https://github.com/githubuser/purecc#readme
11−bug-reports: https://github.com/githubuser/purecc/issues
12−author: Author name here
9+description: Please see the README on Github at <https://github.com/andyarvanitis/purescript-cpp#readme>
10+homepage: https://github.com/andyarvanitis/purescript-cpp#readme
11+bug-reports: https://github.com/andyarvanitis/purescript-cpp/issues
12+author: Andy Arvanitis
1313maintainer: example@example.com
14−copyright: 2018 Author name here
14+copyright: 2018 Andy Arvanitis
1515license: BSD3
1616license-file: LICENSE
1717build-type: Simple
@@ -22,7 +22,7 @@ extra-source-files:
2222
2323source-repository head
2424 type: git
25− location: https://github.com/githubuser/purecc
25+ location: https://github.com/andyarvanitis/purescript-cpp
2626
2727library
2828 exposed-modules:
@@ -33,7 +33,7 @@ library
3333 CodeGen.Cpp.Printer
3434 Tests
3535 other-modules:
36− Paths_purecc
36+ Paths_pscpp
3737 hs-source-dirs:
3838 src
3939 default-extensions: ConstraintKinds DataKinds DeriveFunctor EmptyDataDecls FlexibleContexts KindSignatures LambdaCase MultiParamTypeClasses NoImplicitPrelude PatternGuards PatternSynonyms RankNTypes RecordWildCards OverloadedStrings ScopedTypeVariables TupleSections ViewPatterns
@@ -55,10 +55,10 @@ library
5555 , transformers >=0.3.0 && <0.6
5656 default-language: Haskell2010
5757
58−executable purecc
58+executable pscpp
5959 main-is: Main.hs
6060 other-modules:
61− Paths_purecc
61+ Paths_pscpp
6262 hs-source-dirs:
6363 app
6464 ghc-options: -threaded -rtsopts -with-rtsopts=-N
@@ -74,18 +74,18 @@ executable purecc
7474 , pattern-arrows >=0.0.2 && <0.1
7575 , process
7676 , protolude >=0.1.6
77− , purecc
77+ , pscpp
7878 , purescript
7979 , safe >=0.3.9 && <0.4
8080 , text
8181 , transformers >=0.3.0 && <0.6
8282 default-language: Haskell2010
8383
84−test-suite purecc-test
84+test-suite pscpp-test
8585 type: exitcode-stdio-1.0
8686 main-is: Spec.hs
8787 other-modules:
88− Paths_purecc
88+ Paths_pscpp
8989 hs-source-dirs:
9090 test
9191 ghc-options: -threaded -rtsopts -with-rtsopts=-N
@@ -101,7 +101,7 @@ test-suite purecc-test
101101 , pattern-arrows >=0.0.2 && <0.1
102102 , process
103103 , protolude >=0.1.6
104− , purecc
104+ , pscpp
105105 , purescript
106106 , safe >=0.3.9 && <0.4
107107 , text
src/CodeGen/Cpp/Printer.hs+1−1
@@ -420,7 +420,7 @@ renderOp op
420420
421421interfaceSource :: Text -> [Ident] -> [Ident] -> Text
422422interfaceSource mn exports foreigns =
423− "// Generated by purecc compiler\n\n" <>
423+ "// Generated by pscpp compiler\n\n" <>
424424 "#ifndef " <> mn <> "_H\n" <>
425425 "#define " <> mn <> "_H\n\n" <>
426426 "#include \"purescript.h\"\n" <>
support/Makefile+2−2
@@ -16,7 +16,7 @@
1616#
1717PURS := purs
1818PSC_PACKAGE := psc-package
19−PSOBJC := purecc
19+PSCPP := pscpp
2020SRC := src
2121OUTPUT := output
2222CC_SRC := $(OUTPUT)/src
@@ -53,7 +53,7 @@ corefn: $(PURESCRIPT_PKGS)
5353.PHONY: codegen
5454codegen: COREFN_SRCS=$(call rwildcard,$(OUTPUT)/,corefn.json)
5555codegen: corefn
56− @$(PSOBJC) $(COREFN_SRCS)
56+ @$(PSCPP) $(COREFN_SRCS)
5757
5858$(PURESCRIPT_PKGS):
5959 @echo "Getting packages using" $(PSC_PACKAGE) "..."