Skip to content

DSL experiments #182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 68 commits into
base: possible-speedups
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
5e3df7f
experiment with JSON scanner
korny Oct 28, 2013
8dc6d8b
ws
korny Oct 28, 2013
41c211d
Merge branch 'master' into dsl
korny Mar 21, 2015
615ac96
add alternative JSON scanners
korny Mar 21, 2015
300ccd3
no need to modify file_extension
korny Mar 21, 2015
f4f0db4
add variant tasks like rake test:scanner:json:2
korny Mar 21, 2015
f1ea428
this seems obsolete
korny Mar 21, 2015
b01a3fb
add SKIP_UPDATE_SCANNER_SUITE switch
korny Mar 21, 2015
2499b1e
first version of RuleBasedScanner for JavaScript
korny Mar 21, 2015
647e9c0
more work on DSL scanner for JavaScript
korny Mar 22, 2015
63c9f26
finally, a version that is fast without eval!
korny Mar 24, 2015
e6753b9
cleanup .gitignore
korny Mar 24, 2015
6eaa589
use instance variable instead of class variable
korny Mar 25, 2015
5e954e2
add check_unless
korny Apr 3, 2015
0cd3e62
add DSL CSS scanner
korny Apr 3, 2015
e8bef10
move RuleBasedScanner into own file
korny Apr 3, 2015
235e01b
add push/pop state, working on C scanner
korny Apr 21, 2015
463ffa1
Merge branch 'master' into dsl
korny Dec 24, 2015
7dcbf8a
Debug encoder should count tokens for better inspection
korny Feb 12, 2016
e6d46f9
just show the array
korny Feb 12, 2016
61a9d96
scanner tweaks
korny Feb 12, 2016
c274a90
fix comment
korny Feb 12, 2016
36af5ca
add explicit pattern method; make pattern optional
korny Feb 12, 2016
40f1fa7
Push and Pop take optional group argument now
korny Feb 12, 2016
aa93af4
quick increment/decrement, yay!
korny Feb 12, 2016
3df8487
use explicit pattern method
korny Feb 12, 2016
7561e8d
warn about error tokens
korny Feb 12, 2016
a1a7b2c
add json scanner using RuleBasedScanner
korny Feb 12, 2016
4da772b
add generated Lua scanner
korny Feb 12, 2016
9f4af60
highlight generated C scanner (like the others)
korny Feb 12, 2016
aaa1705
ignore benchmark results
korny Feb 12, 2016
0d1c786
move comment to the top
korny Feb 13, 2016
dd1d779
move setup to superclass
korny Feb 13, 2016
42e2ca3
cleanup
korny Feb 13, 2016
f1bd833
use setup
korny Feb 13, 2016
ca3f15f
remove whitespace
korny Feb 13, 2016
ee9e840
cleanup
korny Feb 13, 2016
3c92a65
Merge branch 'master' into dsl
korny Feb 13, 2016
ae94f2f
Merge branch 'master' into dsl
korny Feb 13, 2016
f8cadd9
add line number to eval
korny Feb 14, 2016
13ac3fd
optional push state (return nil)
korny Feb 14, 2016
6b80e1e
remove obsolete flag, fix order of rules
korny Feb 14, 2016
dcf73a6
nicer debug output
korny Feb 14, 2016
9526bd8
generate scanner code automatically
korny Feb 14, 2016
14339bf
some more variables that are set by the scanner
korny Feb 14, 2016
90c5c91
remove templates, yay!
korny Feb 14, 2016
23e23f2
Merge branch 'master' into dsl
korny Mar 12, 2016
86b0bcf
Merge branch 'master' into dsl
korny Jun 4, 2016
a38b337
Merge branch 'possible-speedups' into dsl
korny Jun 4, 2016
545398f
update version; this will be CodeRay 2
korny Jun 4, 2016
e01ccf7
Merge branch 'possible-speedups' into dsl
korny Jun 12, 2016
26f915f
Merge branch 'possible-speedups' into dsl
korny Dec 28, 2016
548e2d0
default set(:flag) to true
korny Jan 15, 2017
7a02cdd
working towards DSL scanner
korny Apr 9, 2017
1bdaeef
starting with SimpleScanner
korny Apr 9, 2017
1f2367a
Merge branch 'master' into dsl
korny Nov 2, 2017
775255a
Merge branch 'possible-speedups' into dsl
korny Nov 2, 2017
e101dbe
normalize class names
korny Nov 2, 2017
bc580c5
Merge branch 'possible-speedups' into dsl
korny Nov 2, 2017
e69b878
sort .gitignore, add spec/example.txt
korny Nov 2, 2017
8d46c46
Merge branch 'possible-speedups' into dsl
korny Nov 2, 2017
579c00b
testing SingleStateRuleBasedScanner; not faster :(
korny Nov 5, 2017
738aae5
fix autoloading of DSL scanners
korny Nov 5, 2017
465e6c3
remove obsolete "protected"
korny Nov 5, 2017
a9e04e1
fix specs, update SimpleScannerDSL
korny Nov 5, 2017
ec89197
trying to fix tests for Ruby 2.4
korny Nov 5, 2017
3a703d2
Merge branch 'master' into dsl
korny Nov 18, 2017
434006c
testing rouge scanner
korny Nov 27, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'possible-speedups' into dsl
  • Loading branch information
korny committed Jun 12, 2016
commit e01ccf7c5f1da22d2d131a84d36eeebdebe92f1c

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.