search for: peg's

Displaying 20 results from an estimated 309 matches for "peg's".

Did you mean: pe's
2009 Oct 19
2
Treetop or like grammar for Markdown (in Ruby)
Has anyone seen any attempts to give Markdown a PEG (parsing expressions grammar) recognizable by some ruby PEG parser generator grammar like Treetop? http://treetop.rubyforge.org/
2008 Aug 09
0
peg-markdown (C) and rpeg-markdown (ruby gem)
Markdowners: I've released version 0.4.1 of peg-markdown, a C implementation of markdown. peg-markdown uses Ian Piumarta's peg/leg parser generator to generate a parser from a parsing expression grammar (PEG). You can inspect the grammar for markdown at http://github.com/jgm/peg-markdown/tree/HEAD/markdown_parser.leg peg-markdown now p...
2011 Jun 28
3
PEG Markdown Highlight
Dear fellow Markdown enthusiasts, As you all might know, Markdown is a highly context sensitive language that the (often regex-based) syntax highlighting mechanisms in existing editors struggle to keep up with. I have taken John MacFarlane's excellent peg-markdown compiler and modified its parser to function as an interpreter for syntax highlighting purposes. The end result is a Markdown-specific syntax highlighter that should be able to match Markdown documents just as correctly as peg-markdown can, and that can easily be integrated into existing a...
2008 May 03
1
markdown implementation in C using PEG grammar
I've just uploaded an implementation of markdown in C. It defines the syntax using a PEG grammar, so it should be easy to extend and modify. Right now it can produce output in either HTML or LaTeX, but it would be simple to add other output formats. It's very fast: on my machine, it converts a 178K markdown file in 0.14 seconds (vs. 9.6 seconds for the latest Markdown.pl and 0.57...
2017 Oct 13
1
/var/run/... being deleted :((
On 10/13/2017 10:19 AM, Anand Buddhdev wrote: > .. > Stop trying to force a square peg into a round hole. Whee, I just _know_ I'm going to be positively skewered (and maybe even plonked!) for this.... but, hey, it's Friday, and this post is meant to be a bit funny.? So lighten up, and enjoy a short read. obHumor: I actually have a piece of furniture (a small table) with s...
2009 Dec 18
1
?OT: Probabilistic Simulation
...ted in performing what I think would be a probabilistic sensitivity simulation. I've done some crude ones before in excel but I'm wondering if R can help me do it more effectively? I have a set of theoretical variables for simplicity lets use (what I think) is an easier example: I have a peg and a hole which I want to predict how often they would not fit together securely. The peg should be 1.8mm in diameter. But there are some variables which might affect if it is actually 1.8mm but I'd expect it to be normally distributed around 1.8mm with a known standard deviation. There are...
2008 Apr 06
1
markdown PEG (parsing expression grammar)
There's been a lot of discussion on this list about creating a formal grammar for markdown. I had a go at writing a [parsing expression grammar] for markdown. I used Haskell and John Meacham's Frisby PEG parsing library, but it should not be too hard to port the grammar to PEG libraries in other languages. [parsing expression grammar]: http://en.wikipedia.org/wiki/Parsing_expression_grammar The code is at <http://github.com/jgm/markdown-peg/tree/master>. All that is required to compile it i...
2009 Jun 11
1
[LLVMdev] PEG parsers? (was Re: Regular Expressions)
Hello everybody, I don't quite understand how the proposed regex library works but I know that PEG parser generators use a super-set of regex functionality to define their parsers. There's also a nice one on Google code called YARDparser that uses templates based on PEGs to generate efficient recursive-decent parsers. Furthermore, my partner and I am working on an interpreter for PEG synta...
2009 Jul 15
2
Differing Variable Length Inconsistencies in Random Effects/Regression Models
...vcomp10.txt",header=T) >> attach(vc) > > family<-factor(family) > colms<-(vc)[,4:13] ## this to assign the 10 columns containing marker > data to a new variable, as column names are themselves not in any > recognisable sequence > > vcdf<-data.frame(family,peg.no,ec.length,syll.length,colms) > library(lme4) >> for (c in levels(family)) > + { for (i in 1:length(colms)) > + { fit<-lmer(peg.no~1 + (1|c/i), vcdf) > + } > + summ<-summary(fit) > + av<-anova(fit) > + print(summ) > + print(av)...
2017 Oct 13
3
/var/run/... being deleted :((
On Wed, 11 Oct 2017, Lamar Owen wrote: > If the maintainers of packages that want to run well on CentOS 7 need to have > /var/run/$some-file persistence (or pseudo-persistence, which is the current > behavior enabled by re-creating said files) then those maintainers will need > to change their packages to match actual behavior or file a bug report with > upstream to change the
2015 Apr 16
3
Samba process pegging CPU
Greetings, I'm currently experiencing an issue with two of my three Samba servers where one Samba process is pegging the CPU usage and eating up a lot of virtual and resident memory. While this is happening I get a "ERROR(runtime): DsReplicaGetInfo of type 0 failed - (-1073610723, 'NT_STATUS_RPC_PROTOCOL_ERROR')" error when I try to run the samba-tool drs showrepl command. When that singular...
2015 Apr 16
2
Samba process pegging CPU
...r 16, 2015 at 02:33:20PM +0000, Donaldson Jeff wrote: > My apologies, went to paste and accidentally sent the message...see below for rest of detail. > > > Greetings, > > > I'm currently experiencing an issue with two of my three Samba servers where one Samba process is pegging the CPU usage and eating up a lot of virtual and resident memory. While this is happening I get a "ERROR(runtime): DsReplicaGetInfo of type 0 failed - (-1073610723, 'NT_STATUS_RPC_PROTOCOL_ERROR')" error when I try to run the samba-tool drs showrepl command. When that singular...
2015 Apr 17
0
Samba process pegging CPU
...gy Director Newark Charter School jeff.donaldson at ncs.k12.de.us (302) 369-2001 ext: 425 ________________________________________ From: Jeremy Allison <jra at samba.org> Sent: Thursday, April 16, 2015 6:49 PM To: Donaldson Jeff Cc: samba at lists.samba.org Subject: Re: [Samba] Samba process pegging CPU On Thu, Apr 16, 2015 at 02:33:20PM +0000, Donaldson Jeff wrote: > My apologies, went to paste and accidentally sent the message...see below for rest of detail. > > > Greetings, > > > I'm currently experiencing an issue with two of my three Samba servers where one S...
2009 Sep 12
1
lunamark - markdown in lua using a PEG grammar
Markersdown: I was fooling around with lua and decided to write a markdown parser using the terrific lpeg library. Here's the result: http://github.com/jgm/lunamark/tree/master There are already two markdown libraries for lua, one a native lua implementation based on global substitutions, the other a binding to discount. What makes lunamark different is that it is based on a PEG grammar (adapted...
2015 Apr 16
0
Samba process pegging CPU
My apologies, went to paste and accidentally sent the message...see below for rest of detail. Greetings, I'm currently experiencing an issue with two of my three Samba servers where one Samba process is pegging the CPU usage and eating up a lot of virtual and resident memory. While this is happening I get a "ERROR(runtime): DsReplicaGetInfo of type 0 failed - (-1073610723, 'NT_STATUS_RPC_PROTOCOL_ERROR')" error when I try to run the samba-tool drs showrepl command. When that singular...
2005 Jun 09
1
kjournald pegging cpu
kernel version 2.6.10-1.771_FC2smp We have had quite a few instances of kjournald pegging cpu and thereby effectively knocking out the system's i/o. What can we do to provide more information so that the cause can be identified and fixed? Thanks Christopher
2009 Sep 01
1
[LLVMdev] accessing a bitcode library exported from C++ using the JIT
...ion of the parser in order to "freeze" it but only as an option. One goal is to eventually get the macro functions of our language to the point where they are equivalent to the template functions of C++ so we can make a self-hosting langauge. Also, all of the action nodes in our example PEG parser are written in LLVM Assembly rather than only C++ (although they call functions from a C++ library) so I doubt it would work in Spirit2.1 without writing a syntax converter. The syntax converter may come in time but it's only optional. If you're really interested in a partially fin...
2011 May 12
2
Row names and matrixs
...ld my another well-versed R programmer to use the follow script: x<-as.matrix(test1[,-1]) ## skip column 1 rownames(x)<- test[1,] heatmap(x, scale="none") This was for data set up in 4 columns such as when you read the data in R it looks like: Loci Cont NaCl Peg 1 0231 2.1 4.2 4.1 2 1253 4.1 2.3 2.3 3 8167 5.7 1.1 3.4 Using the script above and this dataset it worked well - the Loci was used as the row labels rather than the numbers assigned by R. Looking at the data after this script it looks...
2009 Nov 19
1
Splitting massive output into multiple text files
...model<-read.table("...) modeldf<-data.frame(model) modeldf[2:13<-lapply(modeldf[2:13],factor) colms<-(modeldf)[4:13] ## 10 markers only in this file se<-c(1:1000) for(f in colms) { print("Marker") { for( i in 1:1000) { print("perm no.") print(se[i]) { peg.no.prm<-sample(peg.no, length(peg.no)) try(fit5<-lmer(data=modeldf, peg.no.prm~1 + (1|family/f))) print(summary(fit5)) capture.output(fit5, file="testperm5.txt", append=T) }}} } The data files are at: >> >> >> <http://www.4shared.com/file/131980362/460bdafe/Te...
2006 Jul 28
1
nautilus pegging the cpu
...ing centos on many machines. At each machine, the users is logged into a common account that is located elsewhere on the network. Meaning that everyone is logged on as user_x and accessing the home directory via NFS. All users are running gnome. On some of the machines, the nautilus process is pegging the cpu. At this time, I have no strace or other info to indicate what nautilus is doing. Any ideas? -mark -- Mark Belanger LTX Corporation