78 Commits (b0a5db1ab964745add140632d72b8bd451612cf2)

Author SHA1 Message Date
Futago-za Ryuu b6bc0d905e Use .js files with -c option on CLI 5 years ago
Futago-za Ryuu 1b20aa5427 Ensure usage of 'lib/peg.d.ts' 5 years ago
Futago-za Ryuu 2a7dcdcfbe Changed 'bin/usage.txt' to 'bin/usage.js' 5 years ago
Futago-za Ryuu e6d018a88d Update code format and style 5 years ago
Futago-za Ryuu 08bbd6d5b6 Moved "eslint-env node" to the root 6 years ago
Futago-za Ryuu 0ed8c6f89a Rewrote command line tool 6 years ago
fatfisz 9c60380f86 Add info about es to the cmd tool 6 years ago
fatfisz c541911c04 Extract formats into array 6 years ago
fatfisz e3b7f0c3a9 Change "esm" to "es" 6 years ago
fatfisz aab928de91 Add support for ES modules 6 years ago
David Majda 65afb7fd5d Remove unnecessary parens around arrow function parameters 7 years ago
David Majda 45b62d66d2 Whitespace fixes 7 years ago
David Majda 47bc456dcd Remove useless variable reference 7 years ago
David Majda ec3f7f5bb0 Remove extra indentation 7 years ago
David Majda ff7193776e Avoid aligning "=" 7 years ago
David Majda 400a3cfa3c Avoid aligning object keys 7 years ago
David Majda 6294bb5b13 Use only "//" comments 7 years ago
David Majda 516023546d Use one var/let/const per variable (for initialized variables) 7 years ago
David Majda 7f01db2fb8 Get rid of for-in loops 7 years ago
David Majda 6fa8ad63f9 Replace some functions with arrow functions 7 years ago
David Majda bdf91b5941 Replace "var" with "let" & "const" 7 years ago
David Majda d346d2a66d Replace objects.keys with Object.keys 7 years ago
David Majda 8003edafc9 Rename the "node" module format to "commonjs" 7 years ago
David Majda 8962dcfd16 Rename the "global" module format to "globals" 7 years ago
David Majda 75cd17ed58 bin/pegjs: Implement the --format option 7 years ago
David Majda d83e4d5a48 bin/pegjs: Generate parsers in "node" format 7 years ago
David Majda 3672eff31c bin/pegjs: Order peg.generate options alphabetically 7 years ago
David Majda 0a2217d3da bin/pegjs: Order options in a switch statement alphabetically 7 years ago
David Majda ff330a0d4b bin/pegjs: Order options in help text alphabetically 7 years ago
David Majda a57431955e bin/pegjs: Use the -o/--output option to specify the output file 7 years ago
David Majda 9bf7c0c5ff bin/pegjs: Remove detailed instructions from the help text 7 years ago
David Majda 35b3971366 bin/pegjs: Rename the -o option to -O 7 years ago
David Majda 1c14a2c8f2 bin/pegjs: Allow using "-" to mean standard input and output 7 years ago
David Majda f4504a93fe Rename the "buildParser" function to "generate" 7 years ago
David Majda 0847a69643 Rename the "PEG" variable to "peg" 7 years ago
David Majda f390c7cf45 ESLint: Disable no-console in bin/.eslintrc.json, not bin/pegjs 7 years ago
David Majda 810567d865 UMD parsers: Allow specifying parser dependencies 7 years ago
David Majda a0a57cd22d UMD parsers: Make bin/pegjs generate UMD parsers 7 years ago
David Majda 6a04067a76 bin/pegjs: Do not overwrite extension-less files 7 years ago
David Majda e61c23c634 ESLint: Set environments better 7 years ago
David Majda c8d23e5471 Fix ESLint errors in bin/pegjs 7 years ago
David Majda de1704f007 Replace |util.{puts,error}| by |console.{log,error}| 8 years ago
Arlo Breault 12c169e7b5 Convert PEG.js code to strict mode 8 years ago
David Majda 065f4e1b75 Improve location info in syntax errors 8 years ago
David Majda da57118a43 Implement basic support for tracing 8 years ago
David Majda 95fd64ec15 .jshintrc: Add the "forin" option & fix fallout 9 years ago
David Majda f22d7aabb5 Fix JSHint errors in bin/pegjs 9 years ago
David Majda 851681d663 Implement the --extra-options and --extra-options-file options 10 years ago
David Majda d013016717 bin/pegjs: Fix help wrapping 10 years ago
David Majda 2dc39bb779 bin/pegjs: Output just the parser source if --export-var is empty 10 years ago