Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
baeddd8
using test::longstring; have to fix negatives...
plambert Oct 26, 2014
f0c49f2
fixed negative tests
plambert Nov 8, 2015
7178056
update prereqs and add travis-ci.org support
plambert Nov 8, 2015
ed91e7b
tell travis-ci.org we do not need root access; this allows the use of…
plambert Nov 8, 2015
4175c3e
make travis builds faster by not testing cpan modules
plambert Nov 8, 2015
70c5828
add notifications to travis-ci builds
plambert Nov 8, 2015
bd13269
allow perl 5.22 to fail since travis-ci does not have it yet
plambert Nov 8, 2015
6a6ad94
clean up for perlcritic
plambert Nov 8, 2015
71c4165
using Modern::Perl; this breaks perl 5.8 and 5.10--the minimum is now…
plambert Nov 8, 2015
9535c00
my bad; Modern::Perl's 2012 setting precludes 5.12 as well.
plambert Nov 8, 2015
2f25b88
silly typo
plambert Nov 8, 2015
f7ea65d
remove unnecessary prd.pl file
plambert Nov 8, 2015
5a0c926
moved test to modern::perl
plambert Nov 8, 2015
2d86b95
starting to change name to ORC
plambert Nov 8, 2015
28132a9
...more renames, still not working
plambert Nov 8, 2015
bda1654
renamed to ORC
plambert Nov 8, 2015
d644220
...
plambert Nov 8, 2015
a329310
fixing Module::Build stuff
plambert Nov 8, 2015
25df2ef
more MB updates
plambert Nov 8, 2015
c2135b2
Module::Build stuff should be working now
plambert Nov 8, 2015
7cc3aee
fix travis-ci builds
plambert Nov 8, 2015
8cd2406
more travis-ci fixes...
plambert Nov 8, 2015
66783bd
breaking out some tests into separate files
plambert Nov 9, 2015
c154c52
improve test of loading ORC.pm
plambert Dec 4, 2015
838a485
added to README.md an example of what the language should eventually …
plambert Dec 4, 2015
c7fc9f1
specify minimum versions of packages
plambert Dec 17, 2015
edbfa89
improved documentation
plambert Dec 17, 2015
53b759a
removed print statement because we are a functional language now; add…
plambert Dec 17, 2015
8bb1f8d
beginning to refactor tests
plambert Dec 17, 2015
ac7f866
remove unnecessary ORC::Expression
plambert Dec 17, 2015
ddce143
add JSON to prereqs
plambert Dec 17, 2015
972f6fd
Update build code to require all necessary modules
plambert Dec 17, 2015
775f27d
Added minimum prereq versions to all build files
plambert Dec 17, 2015
e890483
ignore /.prove file used by perl Test::Harness's prove command
plambert Dec 22, 2015
4593f7b
add tools to run autoprove, set sublime linter values for Sublime Tex…
plambert Dec 23, 2015
ae79b5e
fix arithmetic; add a random number generator wrapper to allow predet…
plambert Dec 23, 2015
8b54abc
additional improvements to expressions
plambert Dec 24, 2015
bd26c29
no point in testing perl 5.22 if travis.ci does not have it available
plambert Dec 24, 2015
44b7d8a
cleanup/
plambert Dec 24, 2015
b6b5be5
improving RNG testing
plambert Dec 24, 2015
8a4c876
add perl 5.22 back as it is supported by travis-ci now
plambert Dec 26, 2015
9c212e1
fix travis builds
plambert Dec 26, 2015
60c554a
updated sublime text linter rc file for another level of depth; facto…
plambert Dec 27, 2015
3d89220
add META.json and META.yml from Build.PL; update version to 0.40; red…
plambert Dec 27, 2015
bf35e11
rename d20.pl to ORC.pl; add tests for ORC::Number and ORC::Variable
plambert Feb 15, 2016
f8f0b46
Merge branch 'master' of github.com:gnomepunters/d20dsl
plambert Feb 15, 2016
32ed092
add Sublime Text project file; ignore Sublime Text workspace file
plambert Feb 15, 2016
3050220
initial circleci config
plambert Jul 14, 2018
71a0899
update sublime-project to newer format
Apr 10, 2019
fc100d2
remove a stray comment
Apr 10, 2019
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
13 changes: 13 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2
jobs:
build:
docker:
- image: debian:stretch
steps:
- checkout
- run:
name: Greeting
command: echo Hello, world.
- run:
name: Print the Current Time
command: date
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ Build.bat
/Makefile
/Makefile.old
/MANIFEST.bak
/META.yml
/META.json
/MYMETA.*
nytprof.out
/pm_to_blib
*.o
*.bs
RD_TRACE
/ORC-*
/.prove
/ORC.sublime-workspace
5 changes: 5 additions & 0 deletions .proverc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# settings for 'prove'
--state=hot,all,save
--lib
-w

12 changes: 12 additions & 0 deletions .sublimelinterrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
{
"linters": {
"perl": {
"include_dirs": [
"~/.perlbrew/libs/perl-5.23.3@plambert/lib/perl5",
"~/Dropbox/Private/d20dsl/lib"
]
}
}
}
}
16 changes: 13 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
language: perl
perl:
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
install: build/install_modules.sh
script: prove
script: "prove --norc -l t"
sudo: false
notifications:
pushover:
api_key: "a9JEehJdt2vNqUcWYf8GMpcyF7tAMg"
users:
"hK8qbunPrKx2Kkkh7j4rnOv7AWZmmE"
email:
recipients:
"plambert@plambert.net"
on_success: always
on_failure: always

41 changes: 41 additions & 0 deletions Build.PL
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
use 5.014;
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
module_name => 'ORC',
license => 'apache_2_0',
dist_author => q{Paul M. Lambert <plambert@plambert.net>},
dist_abstract => q{A simple domain-specific language for role-playing game tools},
dist_version_from => 'lib/ORC.pm',
release_status => 'stable',
requires => {
'Carp::Always' => '0.13',
'namespace::sweep' => '0.006',
'Moose' => '2.1604',
'Parse::RecDescent' => '1.967013',
'Modern::Perl' => '1.20150127',
},
configure_requires => {
'Module::Build' => '0.4214',
},
build_requires => {
'Test::More' => '1.001014',
'Test::Continuous' => '0.76',
'Test::LongString' => '0.17',
'YAML' => '1.15',
'Test::YAML' => '1.06',
'Test::Base' => '0.88',
'Spiffy' => '0.46',
'Text::Diff' => '1.43',
'File::ChangeNotify' => '0.24',
'MooseX::SemiAffordanceAccessor' => '0.10',
'JSON' => '2.90',
},
add_to_cleanup => [ 'ORC-*' ],
create_makefile_pl => 'traditional',
);

$builder->create_build_script();

5 changes: 5 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Revision history for ORC

0.01 Date/time
First version, released on an unsuspecting world.

40 changes: 0 additions & 40 deletions DSL.pm

This file was deleted.

141 changes: 0 additions & 141 deletions DSL/Die.pm

This file was deleted.

56 changes: 0 additions & 56 deletions DSL/Expression.pm

This file was deleted.

28 changes: 0 additions & 28 deletions DSL/Number.pm

This file was deleted.

Loading