Select the types of activity you want to include in your feed.
Convert *.pxs files to LF
While the Prexonite parser doesn't care about CR, multi-line strings will contain CRs verbatim. On Windows, this often doesn't matter, but on Linux, these CR characters will be surprising.
···11-//PRX
22-33-Name sys/0.0;
44-References {
55- prx::prim/0.0,
66- prx::core/0.0
77-};
88-99-// Re-export prx.prim from sys. We want to keep the existence of the prx.prim module
1010-// a secret.
1111-namespace prx.prim {}
1212-export prx.prim.*;
1313-1414-// prx.core is the part of the standard library that even other parts of the standard
1515-// library depend on.
1616-// For the moment, prx.core gets dumped directly into sys.
1717-// In case of backwards-incompatible changes in the future, sys would maintain the old.
1818-// behavior while prx.core would move forward
1919-// Adventurous users can depend directly on prx.prim to be on the bleeding edge.
2020-namespace sys {}
2121-export prx.core.*;
2222-2323-// We deliberately re-export this 'as-is' as part of the standard library.
2424-// Things in here are too experimental for use inside the standard library
2525-// and thus not a good fit for prx.core
2626-namespace prx.experimental {}
11+//PRX
22+33+Name sys/0.0;
44+References {
55+ prx::prim/0.0,
66+ prx::core/0.0
77+};
88+99+// Re-export prx.prim from sys. We want to keep the existence of the prx.prim module
1010+// a secret.
1111+namespace prx.prim {}
1212+export prx.prim.*;
1313+1414+// prx.core is the part of the standard library that even other parts of the standard
1515+// library depend on.
1616+// For the moment, prx.core gets dumped directly into sys.
1717+// In case of backwards-incompatible changes in the future, sys would maintain the old.
1818+// behavior while prx.core would move forward
1919+// Adventurous users can depend directly on prx.prim to be on the bleeding edge.
2020+namespace sys {}
2121+export prx.core.*;
2222+2323+// We deliberately re-export this 'as-is' as part of the standard library.
2424+// Things in here are too experimental for use inside the standard library
2525+// and thus not a good fit for prx.core
2626+namespace prx.experimental {}
2727export prx.experimental.*;
+32-32
Prx/psr/console.pxs
···11-// Prexonite
22-//
33-// Copyright (c) 2014, Christian Klauser
44-// All rights reserved.
55-//
66-// Redistribution and use in source and binary forms, with or without modification,
77-// are permitted provided that the following conditions are met:
88-//
99-// Redistributions of source code must retain the above copyright notice,
1010-// this list of conditions and the following disclaimer.
1111-// Redistributions in binary form must reproduce the above copyright notice,
1212-// this list of conditions and the following disclaimer in the
1313-// documentation and/or other materials provided with the distribution.
1414-// The names of the contributors may be used to endorse or
1515-// promote products derived from this software without specific prior written permission.
1616-//
1717-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1818-// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1919-// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2020-// IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
2121-// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2222-// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2323-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2424-// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
2525-// IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626-2727-build does require
2828-(
2929- @"psr\misc.pxs",
3030- @"psr\debug.pxs",
3131- @"psr\struct.pxs",
3232- @"psr\impl\console.pxs"
11+// Prexonite
22+//
33+// Copyright (c) 2014, Christian Klauser
44+// All rights reserved.
55+//
66+// Redistribution and use in source and binary forms, with or without modification,
77+// are permitted provided that the following conditions are met:
88+//
99+// Redistributions of source code must retain the above copyright notice,
1010+// this list of conditions and the following disclaimer.
1111+// Redistributions in binary form must reproduce the above copyright notice,
1212+// this list of conditions and the following disclaimer in the
1313+// documentation and/or other materials provided with the distribution.
1414+// The names of the contributors may be used to endorse or
1515+// promote products derived from this software without specific prior written permission.
1616+//
1717+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1818+// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1919+// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2020+// IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
2121+// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2222+// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2323+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2424+// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
2525+// IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626+2727+build does require
2828+(
2929+ @"psr\misc.pxs",
3030+ @"psr\debug.pxs",
3131+ @"psr\struct.pxs",
3232+ @"psr\impl\console.pxs"
3333);
+161-161
Prx/psr/experimental/indentation.pxs
···11-// Prexonite
22-//
33-// Copyright (c) 2014, Christian Klauser
44-// All rights reserved.
55-//
66-// Redistribution and use in source and binary forms, with or without modification,
77-// are permitted provided that the following conditions are met:
88-//
99-// Redistributions of source code must retain the above copyright notice,
1010-// this list of conditions and the following disclaimer.
1111-// Redistributions in binary form must reproduce the above copyright notice,
1212-// this list of conditions and the following disclaimer in the
1313-// documentation and/or other materials provided with the distribution.
1414-// The names of the contributors may be used to endorse or
1515-// promote products derived from this software without specific prior written permission.
1616-//
1717-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1818-// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1919-// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2020-// IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
2121-// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2222-// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2323-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2424-// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
2525-// IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626-2727-2828-function create_indented_writer(buffer, indentation)
2929-{
3030- if(buffer is String)
3131- {
3232- indentation = buffer;
3333- buffer = null;
3434- }
3535-3636- if(buffer is System::Text::StringBuilder)
3737- buffer = new System::IO::StringWriter(buffer);
3838-3939- buffer ??= new System::IO::StringWriter;
4040- buffer ~= System::IO::TextWriter;
4141- indentation ??= " ";
4242-4343- var s = new Structure;
4444-4545- s.\\(@"\make_indentation") = (self,i) =>
4646- {
4747- self.\icachestr = self.\indentation*(i ?? 0);
4848- };
4949-5050- s.\(@"\indentation") = indentation;
5151- s.\(@"\icachestr") = "";
5252- s.\(@"\icachelen") = 0;
5353- s.\(@"\writer") = buffer;
5454-5555- s.\(@"\level") = 0;
5656- s.\\("set_level") = (self,newLevel) =>
5757- {
5858- if(newLevel < 0)
5959- throw "indented writer cannot have a negative indentation";
6060- self.\level = newLevel;
6161- self.\make_indentation(newLevel);
6262- };
6363- s.\\("get_level") = (self) => self.\level;
6464- s.\(@"\delayed_indent") = false;
6565-6666- s.\\(@"\dent") = (self,deltaLevel) =>
6767- {
6868- self.set_level(self.get_level() + deltaLevel);
6969- };
7070- s.\\("indent") = (self,deltaLevel) =>
7171- {
7272- self.\dent(deltaLevel ?? 1);
7373- };
7474- s.\\("unindent") = (self,deltaLevel) =>
7575- {
7676- self.\dent(-(deltaLevel ?? 1));
7777- };
7878-7979- s.\\(@"\iprintindent") = (self) =>
8080- {
8181- self.\writer.Write(self.\icachestr);
8282- };
8383- s.\\(@"\iensureindent") = (self) =>
8484- {
8585- if(self.\delayed_indent)
8686- {
8787- self.\iprintindent();
8888- self.\delayed_indent = false;
8989- }
9090- };
9191- s.\\(@"\inewline") = (self) =>
9292- {
9393- self.\writer.Write(char("\n"));
9494- self.\delayed_indent = true;
9595- };
9696- s.\\(@"\iprint") = (self,txt) =>
9797- {
9898- var lines = txt.Split(char("\n"));
9999- var lc = lines.Count;
100100- if(lc == 1 and lines[0] == "")
101101- return;
102102- for(var i = 0; i < lc; i++)
103103- {
104104- var line = lines[i];
105105-106106- if(line != "" and line != "\r")
107107- self.\iensureindent();
108108-109109- self.\writer.Write(line);
110110-111111- if(i < lc-1)
112112- self.\inewline();
113113- }
114114- };
115115-116116- s.\\("Write") = (self,fmt) =>
117117- {
118118- var argc = var args.Count;
119119- if(argc <= 1)
120120- return;
121121-122122- if(argc == 2)
123123- self.\iprint(fmt);
124124- else
125125- self.\iprint(call\member(fmt,"Format",args >> skip(2)));
126126- };
127127-128128- s.\\("WriteLine") = (self,fmt) =>
129129- {
130130- call\member(self,"Write",var args >> skip(1));
131131- self.\inewline();
132132- };
133133-134134- s.\\("FlushIndentation") = (self, deltaLevel) =>
135135- {
136136- if(deltaLevel is null)
137137- {
138138- self.\iensureindent();
139139- }
140140- else
141141- {
142142- using(self.indented(deltaLevel))
143143- self.\iensureindent();
144144- }
145145- };
146146-147147- s.\\("Writer") = (self) => s.\writer;
148148- s.\\("ToString") = (self) => s.\writer.ToString();
149149- s.\\("indented") = (self,deltaLevel) =>
150150- {
151151- deltaLevel ??= 1;
152152- var d = new Structure;
153153- d.\(@"\iw") = self;
154154- d.\(@"\dl") = deltaLevel;
155155- d.\\("Dispose") = self => self.\iw.unindent(self.\dl);
156156-157157- self.indent(deltaLevel);
158158- return d;
159159- };
160160-161161- return s;
11+// Prexonite
22+//
33+// Copyright (c) 2014, Christian Klauser
44+// All rights reserved.
55+//
66+// Redistribution and use in source and binary forms, with or without modification,
77+// are permitted provided that the following conditions are met:
88+//
99+// Redistributions of source code must retain the above copyright notice,
1010+// this list of conditions and the following disclaimer.
1111+// Redistributions in binary form must reproduce the above copyright notice,
1212+// this list of conditions and the following disclaimer in the
1313+// documentation and/or other materials provided with the distribution.
1414+// The names of the contributors may be used to endorse or
1515+// promote products derived from this software without specific prior written permission.
1616+//
1717+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1818+// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1919+// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2020+// IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
2121+// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2222+// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2323+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2424+// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
2525+// IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626+2727+2828+function create_indented_writer(buffer, indentation)
2929+{
3030+ if(buffer is String)
3131+ {
3232+ indentation = buffer;
3333+ buffer = null;
3434+ }
3535+3636+ if(buffer is System::Text::StringBuilder)
3737+ buffer = new System::IO::StringWriter(buffer);
3838+3939+ buffer ??= new System::IO::StringWriter;
4040+ buffer ~= System::IO::TextWriter;
4141+ indentation ??= " ";
4242+4343+ var s = new Structure;
4444+4545+ s.\\(@"\make_indentation") = (self,i) =>
4646+ {
4747+ self.\icachestr = self.\indentation*(i ?? 0);
4848+ };
4949+5050+ s.\(@"\indentation") = indentation;
5151+ s.\(@"\icachestr") = "";
5252+ s.\(@"\icachelen") = 0;
5353+ s.\(@"\writer") = buffer;
5454+5555+ s.\(@"\level") = 0;
5656+ s.\\("set_level") = (self,newLevel) =>
5757+ {
5858+ if(newLevel < 0)
5959+ throw "indented writer cannot have a negative indentation";
6060+ self.\level = newLevel;
6161+ self.\make_indentation(newLevel);
6262+ };
6363+ s.\\("get_level") = (self) => self.\level;
6464+ s.\(@"\delayed_indent") = false;
6565+6666+ s.\\(@"\dent") = (self,deltaLevel) =>
6767+ {
6868+ self.set_level(self.get_level() + deltaLevel);
6969+ };
7070+ s.\\("indent") = (self,deltaLevel) =>
7171+ {
7272+ self.\dent(deltaLevel ?? 1);
7373+ };
7474+ s.\\("unindent") = (self,deltaLevel) =>
7575+ {
7676+ self.\dent(-(deltaLevel ?? 1));
7777+ };
7878+7979+ s.\\(@"\iprintindent") = (self) =>
8080+ {
8181+ self.\writer.Write(self.\icachestr);
8282+ };
8383+ s.\\(@"\iensureindent") = (self) =>
8484+ {
8585+ if(self.\delayed_indent)
8686+ {
8787+ self.\iprintindent();
8888+ self.\delayed_indent = false;
8989+ }
9090+ };
9191+ s.\\(@"\inewline") = (self) =>
9292+ {
9393+ self.\writer.Write(char("\n"));
9494+ self.\delayed_indent = true;
9595+ };
9696+ s.\\(@"\iprint") = (self,txt) =>
9797+ {
9898+ var lines = txt.Split(char("\n"));
9999+ var lc = lines.Count;
100100+ if(lc == 1 and lines[0] == "")
101101+ return;
102102+ for(var i = 0; i < lc; i++)
103103+ {
104104+ var line = lines[i];
105105+106106+ if(line != "" and line != "\r")
107107+ self.\iensureindent();
108108+109109+ self.\writer.Write(line);
110110+111111+ if(i < lc-1)
112112+ self.\inewline();
113113+ }
114114+ };
115115+116116+ s.\\("Write") = (self,fmt) =>
117117+ {
118118+ var argc = var args.Count;
119119+ if(argc <= 1)
120120+ return;
121121+122122+ if(argc == 2)
123123+ self.\iprint(fmt);
124124+ else
125125+ self.\iprint(call\member(fmt,"Format",args >> skip(2)));
126126+ };
127127+128128+ s.\\("WriteLine") = (self,fmt) =>
129129+ {
130130+ call\member(self,"Write",var args >> skip(1));
131131+ self.\inewline();
132132+ };
133133+134134+ s.\\("FlushIndentation") = (self, deltaLevel) =>
135135+ {
136136+ if(deltaLevel is null)
137137+ {
138138+ self.\iensureindent();
139139+ }
140140+ else
141141+ {
142142+ using(self.indented(deltaLevel))
143143+ self.\iensureindent();
144144+ }
145145+ };
146146+147147+ s.\\("Writer") = (self) => s.\writer;
148148+ s.\\("ToString") = (self) => s.\writer.ToString();
149149+ s.\\("indented") = (self,deltaLevel) =>
150150+ {
151151+ deltaLevel ??= 1;
152152+ var d = new Structure;
153153+ d.\(@"\iw") = self;
154154+ d.\(@"\dl") = deltaLevel;
155155+ d.\\("Dispose") = self => self.\iw.unindent(self.\dl);
156156+157157+ self.indent(deltaLevel);
158158+ return d;
159159+ };
160160+161161+ return s;
162162}
+29-29
Prx/psr/json.pxs
···11-// Prexonite
22-//
33-// Copyright (c) 2014, Christian Klauser
44-// All rights reserved.
55-//
66-// Redistribution and use in source and binary forms, with or without modification,
77-// are permitted provided that the following conditions are met:
88-//
99-// Redistributions of source code must retain the above copyright notice,
1010-// this list of conditions and the following disclaimer.
1111-// Redistributions in binary form must reproduce the above copyright notice,
1212-// this list of conditions and the following disclaimer in the
1313-// documentation and/or other materials provided with the distribution.
1414-// The names of the contributors may be used to endorse or
1515-// promote products derived from this software without specific prior written permission.
1616-//
1717-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1818-// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1919-// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2020-// IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
2121-// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2222-// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2323-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2424-// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
2525-// IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626-2727-build does require
2828-(
2929- @"psr\file.pxs", @"psr\impl\json.pxs"
11+// Prexonite
22+//
33+// Copyright (c) 2014, Christian Klauser
44+// All rights reserved.
55+//
66+// Redistribution and use in source and binary forms, with or without modification,
77+// are permitted provided that the following conditions are met:
88+//
99+// Redistributions of source code must retain the above copyright notice,
1010+// this list of conditions and the following disclaimer.
1111+// Redistributions in binary form must reproduce the above copyright notice,
1212+// this list of conditions and the following disclaimer in the
1313+// documentation and/or other materials provided with the distribution.
1414+// The names of the contributors may be used to endorse or
1515+// promote products derived from this software without specific prior written permission.
1616+//
1717+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1818+// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1919+// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2020+// IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
2121+// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2222+// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2323+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2424+// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
2525+// IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626+2727+build does require
2828+(
2929+ @"psr\file.pxs", @"psr\impl\json.pxs"
3030);
+30-30
Prx/psr/misc.pxs
···11-// Prexonite
22-//
33-// Copyright (c) 2014, Christian Klauser
44-// All rights reserved.
55-//
66-// Redistribution and use in source and binary forms, with or without modification,
77-// are permitted provided that the following conditions are met:
88-//
99-// Redistributions of source code must retain the above copyright notice,
1010-// this list of conditions and the following disclaimer.
1111-// Redistributions in binary form must reproduce the above copyright notice,
1212-// this list of conditions and the following disclaimer in the
1313-// documentation and/or other materials provided with the distribution.
1414-// The names of the contributors may be used to endorse or
1515-// promote products derived from this software without specific prior written permission.
1616-//
1717-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1818-// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1919-// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2020-// IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
2121-// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2222-// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2323-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2424-// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
2525-// IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626-2727-build does require
2828-(
2929- @"psr\struct.pxs", @"psr\impl\misc.pxs"
3030-);
11+// Prexonite
22+//
33+// Copyright (c) 2014, Christian Klauser
44+// All rights reserved.
55+//
66+// Redistribution and use in source and binary forms, with or without modification,
77+// are permitted provided that the following conditions are met:
88+//
99+// Redistributions of source code must retain the above copyright notice,
1010+// this list of conditions and the following disclaimer.
1111+// Redistributions in binary form must reproduce the above copyright notice,
1212+// this list of conditions and the following disclaimer in the
1313+// documentation and/or other materials provided with the distribution.
1414+// The names of the contributors may be used to endorse or
1515+// promote products derived from this software without specific prior written permission.
1616+//
1717+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1818+// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1919+// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2020+// IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
2121+// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2222+// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2323+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2424+// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
2525+// IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626+2727+build does require
2828+(
2929+ @"psr\struct.pxs", @"psr\impl\misc.pxs"
3030+);
+32-32
Prx/psr/queue.pxs
···11-// Prexonite
22-//
33-// Copyright (c) 2014, Christian Klauser
44-// All rights reserved.
55-//
66-// Redistribution and use in source and binary forms, with or without modification,
77-// are permitted provided that the following conditions are met:
88-//
99-// Redistributions of source code must retain the above copyright notice,
1010-// this list of conditions and the following disclaimer.
1111-// Redistributions in binary form must reproduce the above copyright notice,
1212-// this list of conditions and the following disclaimer in the
1313-// documentation and/or other materials provided with the distribution.
1414-// The names of the contributors may be used to endorse or
1515-// promote products derived from this software without specific prior written permission.
1616-//
1717-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1818-// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1919-// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2020-// IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
2121-// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2222-// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2323-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2424-// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
2525-// IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626-2727-2828-build does require
2929-(
3030- @"psr\struct.pxs",
3131- @"psr\impl\queue.pxs"
3232-);
11+// Prexonite
22+//
33+// Copyright (c) 2014, Christian Klauser
44+// All rights reserved.
55+//
66+// Redistribution and use in source and binary forms, with or without modification,
77+// are permitted provided that the following conditions are met:
88+//
99+// Redistributions of source code must retain the above copyright notice,
1010+// this list of conditions and the following disclaimer.
1111+// Redistributions in binary form must reproduce the above copyright notice,
1212+// this list of conditions and the following disclaimer in the
1313+// documentation and/or other materials provided with the distribution.
1414+// The names of the contributors may be used to endorse or
1515+// promote products derived from this software without specific prior written permission.
1616+//
1717+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1818+// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1919+// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2020+// IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
2121+// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2222+// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2323+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2424+// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
2525+// IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626+2727+2828+build does require
2929+(
3030+ @"psr\struct.pxs",
3131+ @"psr\impl\queue.pxs"
3232+);