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-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-28 09:26:35 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-29 01:42:50 +02:00
2011-06-29 01:42:50 +02:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-08 10:52:42 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-27 17:35:48 -05:00
2011-06-27 17:35:48 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00
2011-06-07 10:32:23 -05:00