Skip to content

Commit

Permalink
Preparing files to release 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sqmedeiros committed Dec 23, 2022
1 parent ff2dbe3 commit f3745e2
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 3 deletions.
10 changes: 9 additions & 1 deletion HISTORY
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
HISTORY for LPegLabel 1.6.0-1
HISTORY for LPegLabel 1.6.1-1

* Changes from version 1.6.0-1 to 1.6.1-1
---------------------------------
+ fixing buffer overflow (thanks to edubart)
+ fixing calcline returning the wrong column (thanks to Validark)
+ fixing name clashing (thanks to edubart and E-Fir)
+ fixing test related to the relabel parser


* Changes from version 1.5.0-1 to 1.6.0-1
---------------------------------
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014-2019 Sérgio Medeiros
Copyright (c) 2014-2022 Sérgio Medeiros

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lpltypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "lua.h"


#define VERSION "1.6.0"
#define VERSION "1.6.1"


#define PATTERN_T "lpeglabel-pattern"
Expand Down
33 changes: 33 additions & 0 deletions rockspecs/lpeglabel-1.6.1-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package = "LPegLabel"
version = "1.6.1-1"
source = {
url = "https://github.com/sqmedeiros/lpeglabel/archive/v1.6.1-1.tar.gz",
tag = "v1.6.1-1",
dir = "lpeglabel-1.6.1-1",
}
description = {
summary = "Parsing Expression Grammars For Lua with Labeled Failures",
detailed = [[
LPegLabel is a conservative extension of the LPeg library that provides
an implementation of Parsing Expression Grammars (PEGs) with labeled failures.
By using labeled failures we can properly report syntactical errors.
We can also recover from such errors by describing a grammar rule with
the same name of a given label.
LPegLabel also reports the farthest failure position in case of an ordinary failure.
]],
homepage = "https://github.com/sqmedeiros/lpeglabel/",
maintainer = "Sergio Medeiros <[email protected]>",
license = "MIT/X11"
}
dependencies = {
"lua >= 5.1",
}
build = {
type = "builtin",
modules = {
lpeglabel = {
"lplcap.c", "lplcode.c", "lplprint.c", "lpltree.c", "lplvm.c"
},
relabel = "relabel.lua"
}
}

3 comments on commit f3745e2

@mingodad
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you also consider add a debug info like the one here https://mingodad.github.io/lua-wasm-playground/ (select 'Json parser**') ?

@mingodad
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also discussion here edubart/lpegrex#3 (comment)

@sqmedeiros
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, Domingo. I could not see your comment previously. I will try to add a debug info for the next version.

Please sign in to comment.