Commit graph

100 commits

Author SHA1 Message Date
2adc0cc33a
Chapter 15.3 2021-07-29 23:38:20 -07:00
73dfe7efa5
Chapter 15.2 2021-07-27 22:21:40 -07:00
79c1056553
Generate the compilation database through CMake
Use an Emacs directory-local variable to specify to ccls where the compilation
directory lives, tell CMake to generate the compilation database, and remove
bear from the environment.

Add clang to the environment for clang-format.
2021-07-22 01:09:45 -07:00
50473e5ab5
Chapter 15.1 2021-07-22 01:09:11 -07:00
7fe0c7f639
Delete compile_commands.json
I don’t think this should ever have been added.
2021-07-22 01:08:40 -07:00
2c007a8f94
Chapter 14.1-6 2021-07-08 02:25:13 -07:00
a779473ced
Add manifest file for Guix for easy environment setup 2021-07-08 02:25:13 -07:00
68a2ebd34f
Restructure project to make room for clox 2021-07-08 02:25:13 -07:00
62bd0f83dc 13.3 Calling Superclass Methods 2021-06-15 23:18:29 -07:00
1dd608294a 13.2 Inheriting Methods 2021-06-14 23:42:40 -07:00
db403da4b2 13.1 Superclasses and Subclasses 2021-06-14 23:36:10 -07:00
958ba22a57 12.7 Constructors and Initializers 2021-06-12 12:17:43 -07:00
e62d1a209e 12.5.1 Invalid uses of this 2021-04-18 17:29:25 -07:00
21a58ffb20 12.5 This 2021-04-18 17:25:03 -07:00
591caeb216 12.4 Methods on Classes 2021-04-11 19:55:24 -07:00
580a5acb58 Chapter 12, Sections 1, 2, and 3 2021-03-17 22:52:35 -07:00
b04b6bcf2f Chapter 11 - Resolving and Binding 2021-03-03 22:44:52 -08:00
715e60b87e Pass all arguments to lox 2021-02-17 22:07:19 -08:00
4fbfa53dd7 Add basic test 2021-02-17 21:42:37 -08:00
e283991f90 Add local functions and closures 2021-02-16 23:41:24 -08:00
0dbf155da5 Add return statement 2021-02-08 17:42:18 -08:00
4a71c219b5 Add function calls 2021-01-31 17:11:47 -08:00
922a8f6863 Add function calling syntax 2021-01-20 22:52:47 -08:00
60b940f1f5 Add CMakePresets.json 2021-01-18 17:42:43 -08:00
613c2388be Add for statement 2021-01-17 19:48:17 -08:00
2a72de9f81 Formatting 2021-01-16 22:16:37 -08:00
3b9c44434e Add while statement 2021-01-16 22:16:31 -08:00
c62b73a247 Add branching primitives 2021-01-14 23:53:47 -08:00
ca9fd3ae3a Chapter 8: Add blocks and scopes 2020-11-25 23:10:58 -08:00
57e87978ef Chapter 8: Add assignment 2020-11-25 22:06:42 -08:00
ae33509615 Update minimum CMake version to 2.19 2020-11-25 22:06:16 -08:00
899ecea236 Chapter 8: Add variable declarations 2020-11-18 23:30:46 -08:00
8019f6aa41 Chapter 8: Add expression and print statements 2020-11-18 18:18:25 -08:00
055b5257fb Chapter 8: Add statement AST generator 2020-11-18 17:10:21 -08:00
2894c7ebfd Trigger builds on SCM changes 2020-11-15 21:12:30 -08:00
000297dde1 Use no arguments, update Lox.jar location
‘cmakeBuild’ is calling ‘make’, not ‘cmake --build’, so try passing in the ‘all’
target.
2020-11-15 21:10:57 -08:00
bfed2d4dd3 Try adding steps to cmakeBuild
Without steps it seems to only be configuring.
2020-11-15 21:06:54 -08:00
2c2bae1b46 Use the default generator for CMake 2020-11-15 21:01:39 -08:00
3ef60b7cf7 Fix Dockerfile
When not using the noninteractive front-end the installation blocks to ask which
timezone to use.
2020-11-15 20:53:01 -08:00
6bfbcb4850 Use default Dockerfile name, don’t look for a label. 2020-11-15 20:38:56 -08:00
c965dd4033 Add Jenkinsfile and supporting Dockerfile 2020-11-15 20:22:48 -08:00
b31528d593 Update .gitignore
Only exclude _build, where CMake should be building to.
2020-11-11 21:33:54 -08:00
ee63307aee Add the interpreter 2020-11-11 21:33:02 -08:00
a78fe97f60 Add the Parser 2020-11-11 21:07:49 -08:00
0960080128 Split CMake project into several files 2020-11-11 21:07:19 -08:00
f6cdbabe1c Automatically generate Expr.java using GenerateAst 2020-10-28 23:03:25 -07:00
2e15e8bab8 Add GenerateAst and AstPrinter 2020-10-28 22:56:15 -07:00
5fcfc5a015 Add .gitignore 2020-10-22 10:35:03 -07:00
a502658604 Add Scanner for Lox 2020-10-21 23:42:40 -07:00
38a6ee0725 Initial commit 2020-10-12 20:46:11 -07:00