Files
linguist/test
Andreas Bolka 2707d1db67 Guess if .r is R or REBOL
.r is the default extension used widely for both, R and REBOL. This
patch attempts to guess if .r is a REBOL file by looking for the
following very common REBOL code fragments:

- `REBOL`
- `: func [`
- `make object! [`
- `context [`

If any of those is found in a .r file, it is identified as a REBOL file.
Otherwise the language for a .r file is R.

Signed-off-by: Andreas Bolka <a@bolka.at>
2011-06-29 01:42:50 +02:00
..
2011-06-29 01:42:50 +02:00
2011-06-29 01:42:50 +02:00
2011-06-18 20:19:34 -05:00
2011-06-16 08:56:13 -05:00
2011-05-25 12:52:12 -05:00